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

Unified Diff: chrome/browser/profiles/gaia_info_update_service.cc

Issue 12088040: Add a SigninAllowed policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Extract managed user specific stuff into another changelist. Created 7 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
Index: chrome/browser/profiles/gaia_info_update_service.cc
diff --git a/chrome/browser/profiles/gaia_info_update_service.cc b/chrome/browser/profiles/gaia_info_update_service.cc
index bb0e4085441caa44b702f2d132c1bb07e886c23e..ee04f00ddf7ab17f593c1dce797861a5eff3199e 100644
--- a/chrome/browser/profiles/gaia_info_update_service.cc
+++ b/chrome/browser/profiles/gaia_info_update_service.cc
@@ -64,7 +64,8 @@ bool GAIAInfoUpdateService::ShouldUseGAIAProfileInfo(Profile* profile) {
#endif
// Sync must be allowed.
- if (!profile->GetOriginalProfile()->IsSyncAccessible())
+ if (!profile->GetOriginalProfile()->IsSyncAccessible() ||
+ !profile->GetOriginalProfile()->IsSigninAllowed())
sail 2013/02/08 20:18:57 Why this change?
Adrian Kuegel 2013/02/11 16:47:30 I thought that "No Signin" should imply "No Sync"
return false;
// To enable this feature for testing pass "--gaia-profile-info".

Powered by Google App Engine
This is Rietveld 408576698