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

Unified Diff: chrome/browser/ui/auto_login_prompter.cc

Issue 8698001: sync: change semantics (and name) of SigninManager::GetUsername (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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/ui/auto_login_prompter.cc
diff --git a/chrome/browser/ui/auto_login_prompter.cc b/chrome/browser/ui/auto_login_prompter.cc
index 60eb89d8b1e41b9bb18ab47c56b5dab9b05deaa6..9bb0994a74753c603372a12c410f89d3ace5b69e 100644
--- a/chrome/browser/ui/auto_login_prompter.cc
+++ b/chrome/browser/ui/auto_login_prompter.cc
@@ -306,7 +306,7 @@ void AutoLoginPrompter::ShowInfoBarUIThread(const std::string& account,
// Make sure that |account|, if specified, matches the logged in user.
// However, |account| is usually empty.
- const std::string& username = signin_manager->GetUsername();
+ const std::string& username = signin_manager->GetAuthenticatedUsername();
if (!account.empty() && (username != account))
return;

Powered by Google App Engine
This is Rietveld 408576698