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

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

Issue 267703003: Logout all accounts from cookie jar when disconnecting from chrome. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 7 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 | « chrome/browser/signin/account_reconcilor_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/signin/core/browser/account_reconcilor.cc
diff --git a/components/signin/core/browser/account_reconcilor.cc b/components/signin/core/browser/account_reconcilor.cc
index 271f3e0e5a6eb164adcf67cfa52d6e5bc09c0c90..9267fd20dbde6fe45208fb3c7ad9444accb1c832 100644
--- a/components/signin/core/browser/account_reconcilor.cc
+++ b/components/signin/core/browser/account_reconcilor.cc
@@ -347,8 +347,11 @@ void AccountReconcilor::GoogleSigninSucceeded(const std::string& username,
void AccountReconcilor::GoogleSignedOut(const std::string& username) {
VLOG(1) << "AccountReconcilor::GoogleSignedOut: signed out";
+ gaia_fetcher_.reset();
+ AbortReconcile();
UnregisterWithTokenService();
UnregisterForCookieChanges();
+ PerformLogoutAllAccountsAction();
}
void AccountReconcilor::PerformMergeAction(const std::string& account_id) {
« no previous file with comments | « chrome/browser/signin/account_reconcilor_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698