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

Unified Diff: chrome/browser/signin/fake_signin_manager.cc

Issue 980583003: Fix FakeSigninManager::SignOut (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/signin/fake_signin_manager.cc
diff --git a/chrome/browser/signin/fake_signin_manager.cc b/chrome/browser/signin/fake_signin_manager.cc
index 5704738dd0f816bd1e6fa63c75ecb0caf9a764df..503f1f91d632dc04e5d91519c0bf80808107bb15 100644
--- a/chrome/browser/signin/fake_signin_manager.cc
+++ b/chrome/browser/signin/fake_signin_manager.cc
@@ -89,8 +89,8 @@ void FakeSigninManager::SignOut(
set_auth_in_progress(std::string());
set_password(std::string());
const std::string account_id = GetAuthenticatedAccountId();
- const std::string username = authenticated_username_;
- authenticated_username_.clear();
+ const std::string username = GetAuthenticatedUsername();
+ ClearAuthenticatedUsername();
FOR_EACH_OBSERVER(SigninManagerBase::Observer, observer_list_,
GoogleSignedOut(account_id, username));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698