Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(520)

Unified Diff: chrome/browser/chromeos/login/user_manager_impl.cc

Issue 22447005: chromeos: Switch --first-boot to --first-exec-after-boot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/user_manager_impl.cc
diff --git a/chrome/browser/chromeos/login/user_manager_impl.cc b/chrome/browser/chromeos/login/user_manager_impl.cc
index 6ed6474470c8f2c6e64301815bf4b41b03be5060..cdcf4bb5c9abf714e71aa973515785e6eca10bde 100644
--- a/chrome/browser/chromeos/login/user_manager_impl.cc
+++ b/chrome/browser/chromeos/login/user_manager_impl.cc
@@ -1796,7 +1796,8 @@ void UserManagerImpl::RestorePendingUserSessions() {
void UserManagerImpl::SendRegularUserLoginMetrics(const std::string& email) {
// If this isn't the first time Chrome was run after the system booted,
// assume that Chrome was restarted because a previous session ended.
- if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kFirstBoot)) {
+ if (!CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kFirstExecAfterBoot)) {
const std::string last_email =
g_browser_process->local_state()->GetString(kLastLoggedInRegularUser);
const base::TimeDelta time_to_login =

Powered by Google App Engine
This is Rietveld 408576698