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

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: first Created 9 years, 1 month 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 132c91849bec62bb272c320fc4b69c2d591cdba9..a1c344b0888173047c893ec1e2832cce4db8f7bc 100644
--- a/chrome/browser/ui/auto_login_prompter.cc
+++ b/chrome/browser/ui/auto_login_prompter.cc
@@ -305,7 +305,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;
« chrome/browser/sync/signin_manager.cc ('K') | « chrome/browser/sync/test_profile_sync_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698