Skip to content
Commit f1a275a1 authored by Scott Violet's avatar Scott Violet Committed by Chromium LUCI CQ
Browse files

sessions: add debugging code to help identify loss of data

Some ChromeOS logs indicate that SessionService is getting created
multiple times. That the SessionService is created multiple times
isn't itself a problem, what is a problem is if it's recreated at a
time we don't expect (perhaps shutdown), so that the session data ends
up getting clobbered. This adds logging and crash-without-dump to
help track down what is happening.

This also moves logging of the start event to SessionService. This is
done as StartupBrowserCreator isn't always created in some situations
(namely chromeos startup).

BUG=1245816
TEST=none

Change-Id: I6331c6ca0b67982f5796420ba303b7031351aaca
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3139174


Commit-Queue: Scott Violet <sky@chromium.org>
Reviewed-by: default avatarDavid Bienvenu <davidbienvenu@chromium.org>
Cr-Commit-Position: refs/heads/main@{#917739}
parent 524b2aa5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment