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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 8773046: [cros] Display emails of users are stored in a separate dictionary in Local State. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes. Created 9 years 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/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index 246e16794b4b459d941a1409e88b474f925fcd96..3c89e785a33947e5755ec9714b5f13fac81965f1 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -484,6 +484,7 @@ class StubLogin : public chromeos::LoginStatusConsumer,
if (!profile_prepared_) {
// Will call OnProfilePrepared in the end.
chromeos::LoginUtils::Get()->PrepareProfile(username,
+ std::string(),
password,
credentials,
pending_requests,
@@ -540,8 +541,7 @@ void OptionallyRunChromeOSLoginManager(const CommandLine& parsed_command_line,
if (!parsed_command_line.HasSwitch(switches::kTestName)) {
// We did not log in (we crashed or are debugging), so we need to
Nikita (slow) 2011/12/05 13:13:04 nit: Please update comment since we're not passing
Ivan Korotkov 2011/12/05 14:12:48 Done.
// set the user name for sync.
- chromeos::LoginUtils::Get()->RestoreAuthenticationSession(
- chromeos::UserManager::Get()->logged_in_user().email(), profile);
+ chromeos::LoginUtils::Get()->RestoreAuthenticationSession(profile);
}
}
}

Powered by Google App Engine
This is Rietveld 408576698