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

Unified Diff: chrome/browser/supervised_user/supervised_user_service.h

Issue 933293005: Disable sync for Lightspeed experimentation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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/supervised_user/supervised_user_service.h
diff --git a/chrome/browser/supervised_user/supervised_user_service.h b/chrome/browser/supervised_user/supervised_user_service.h
index 8b16b444a0875752654da385048645ae6778b8d7..25542d05136b9255f27553d585b6a8eb14ce3073 100644
--- a/chrome/browser/supervised_user/supervised_user_service.h
+++ b/chrome/browser/supervised_user/supervised_user_service.h
@@ -33,6 +33,7 @@ class Browser;
class GoogleServiceAuthError;
class PermissionRequestCreator;
class Profile;
+class ProfileSyncService;
class SupervisedUserBlacklistDownloader;
class SupervisedUserRegistrationUtility;
class SupervisedUserServiceObserver;
@@ -333,6 +334,9 @@ class SupervisedUserService : public KeyedService,
PrefChangeRegistrar pref_change_registrar_;
+ // May be null in tests or due to command line flag.
+ ProfileSyncService* profile_sync_service_; // owned by BCKS factory.
Alexei Svitkine (slow) 2015/02/19 22:04:08 Nit: If you already have a comment above, merge th
Mike Lerman 2015/02/20 16:38:01 It is my humblest pleasure to use the fullest and
+
// True iff we're waiting for the Sync service to be initialized.
bool waiting_for_sync_initialization_;
bool is_profile_active_;

Powered by Google App Engine
This is Rietveld 408576698