Index: chrome/browser/lifetime/application_lifetime.cc |
diff --git a/chrome/browser/lifetime/application_lifetime.cc b/chrome/browser/lifetime/application_lifetime.cc |
index 6731cb59edf53afa60c95a0fdcf4e25374be5dbb..7e377a83cf581c26467528f1d155d0af4b054b8c 100644 |
--- a/chrome/browser/lifetime/application_lifetime.cc |
+++ b/chrome/browser/lifetime/application_lifetime.cc |
@@ -143,13 +143,12 @@ void AttemptUserExit() { |
#if defined(OS_CHROMEOS) |
StartShutdownTracing(); |
chromeos::BootTimesLoader::Get()->AddLogoutTimeMarker("LogoutStarted", false); |
- // Write /tmp/uptime-logout-started as well. |
- const char kLogoutStarted[] = "logout-started"; |
- chromeos::BootTimesLoader::Get()->RecordCurrentStats(kLogoutStarted); |
- // Login screen should show up in owner's locale. |
PrefService* state = g_browser_process->local_state(); |
if (state) { |
+ chromeos::BootTimesLoader::Get()->OnLogoutStarted(state); |
+ |
+ // Login screen should show up in owner's locale. |
std::string owner_locale = state->GetString(prefs::kOwnerLocale); |
if (!owner_locale.empty() && |
state->GetString(prefs::kApplicationLocale) != owner_locale && |