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

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

Issue 2442843002: Override SigninManager::SignOut if force-signin is enabled. (Closed)
Patch Set: Created 4 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
« no previous file with comments | « components/signin/core/browser/signin_client.h ('k') | components/signin/core/browser/signin_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/signin/core/browser/signin_client.cc
diff --git a/components/signin/core/browser/signin_client.cc b/components/signin/core/browser/signin_client.cc
index 2e70ebe977f932e66a8b222706d43169a4d12dd2..9473e0bb59c1216ef81d8cb822fe68011010bbe0 100644
--- a/components/signin/core/browser/signin_client.cc
+++ b/components/signin/core/browser/signin_client.cc
@@ -32,6 +32,10 @@ std::string SigninClient::GetOrCreateScopedDeviceIdPref(PrefService* prefs) {
return signin_scoped_device_id;
}
+void SigninClient::PreSignOut(const base::Callback<void()>& sign_out) {
+ sign_out.Run();
+}
+
void SigninClient::SignOut() {
GetPrefs()->ClearPref(prefs::kGoogleServicesSigninScopedDeviceId);
OnSignedOut();
« no previous file with comments | « components/signin/core/browser/signin_client.h ('k') | components/signin/core/browser/signin_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698