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

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

Issue 566933005: Do not display lock for hosted domains (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Handle a null in unit tests Created 6 years, 3 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_manager.cc
diff --git a/components/signin/core/browser/signin_manager.cc b/components/signin/core/browser/signin_manager.cc
index 1d4bda2deae736af09e760738198ccb217fc376e..c7a752dfc8e40edd9b62d05f12a0aca09ca05a24 100644
--- a/components/signin/core/browser/signin_manager.cc
+++ b/components/signin/core/browser/signin_manager.cc
@@ -207,6 +207,7 @@ void SigninManager::SignOut(
base::Time::FromInternalValue(
client_->GetPrefs()->GetInt64(prefs::kSignedInTime));
clear_authenticated_username();
+ client_->GetPrefs()->ClearPref(prefs::kGoogleServicesHostedDomain);
msw 2014/09/19 21:47:40 Should gcm::FakeSigninManager::SignOut or anywhere
Mike Lerman 2014/09/21 00:19:36 This isn't important for unit tests, so doesn't ne
client_->GetPrefs()->ClearPref(prefs::kGoogleServicesUsername);
client_->GetPrefs()->ClearPref(prefs::kSignedInTime);
client_->ClearSigninScopedDeviceId();

Powered by Google App Engine
This is Rietveld 408576698