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

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

Issue 2044303004: Sync: Support multiple setup UIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix android Created 4 years, 6 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 8e93e7576efa31e5e2a529401eb1d559d8a2536a..8a690ca384a10d9bf2579476c8bd31d27098aa18 100644
--- a/chrome/browser/supervised_user/supervised_user_service.h
+++ b/chrome/browser/supervised_user/supervised_user_service.h
@@ -60,6 +60,10 @@ namespace extensions {
class ExtensionRegistry;
}
+namespace sync_driver {
+class SyncSetupInProgressHandle;
+}
+
namespace user_prefs {
class PrefRegistrySyncable;
}
@@ -409,6 +413,9 @@ class SupervisedUserService : public KeyedService,
base::ObserverList<SupervisedUserServiceObserver> observer_list_;
+ // Handle preventing Sync from running until configuration is complete.
+ std::unique_ptr<sync_driver::SyncSetupInProgressHandle> setup_handle_;
+
base::WeakPtrFactory<SupervisedUserService> weak_ptr_factory_;
};

Powered by Google App Engine
This is Rietveld 408576698