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

Unified Diff: components/signin/core/browser/signin_account_id_helper.cc

Issue 502343002: Add account_id to signin manager notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@isauth
Patch Set: Fix android trybots Created 6 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: components/signin/core/browser/signin_account_id_helper.cc
diff --git a/components/signin/core/browser/signin_account_id_helper.cc b/components/signin/core/browser/signin_account_id_helper.cc
index 42a4e7c4342979ab898d83b90a5508c42dd53b3b..f6f3ae95e861af4f186cf37370e5735d863a2e8d 100644
--- a/components/signin/core/browser/signin_account_id_helper.cc
+++ b/components/signin/core/browser/signin_account_id_helper.cc
@@ -129,7 +129,8 @@ SigninAccountIdHelper::~SigninAccountIdHelper() {
token_service_->RemoveObserver(this);
}
-void SigninAccountIdHelper::GoogleSignedOut(const std::string& username) {
+void SigninAccountIdHelper::GoogleSignedOut(const std::string& account_id,
+ const std::string& username) {
client_->GetPrefs()->ClearPref(prefs::kGoogleServicesUserAccountId);
}
« no previous file with comments | « components/signin/core/browser/signin_account_id_helper.h ('k') | components/signin/core/browser/signin_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698