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..2fb6b45f60a2035fdb9dee511b3f55042d5a8b7e 100644 |
--- a/chrome/browser/lifetime/application_lifetime.cc |
+++ b/chrome/browser/lifetime/application_lifetime.cc |
@@ -143,13 +143,11 @@ 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. |
Nikita (slow)
2014/05/30 07:07:03
nit: insert empty line before comment.
Alexander Alekseev
2014/05/30 18:44:54
Done.
|
std::string owner_locale = state->GetString(prefs::kOwnerLocale); |
if (!owner_locale.empty() && |
state->GetString(prefs::kApplicationLocale) != owner_locale && |