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

Unified Diff: ios/chrome/browser/sync/sync_setup_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: ios/chrome/browser/sync/sync_setup_service.h
diff --git a/ios/chrome/browser/sync/sync_setup_service.h b/ios/chrome/browser/sync/sync_setup_service.h
index 0df68223dae03f884aada93252930997c2a88038..0ffda85856ac3fcd2b875bc7451709dd758ab156 100644
--- a/ios/chrome/browser/sync/sync_setup_service.h
+++ b/ios/chrome/browser/sync/sync_setup_service.h
@@ -15,6 +15,7 @@
namespace sync_driver {
class SyncService;
+class SyncSetupInProgressHandle;
}
class PrefService;
@@ -105,6 +106,9 @@ class SyncSetupService : public KeyedService {
PrefService* const prefs_;
syncer::ModelTypeSet user_selectable_types_;
+ // Handle preventing Sync from running until configuration is complete.
+ std::unique_ptr<sync_driver::SyncSetupInProgressHandle> setup_handle_;
+
DISALLOW_COPY_AND_ASSIGN(SyncSetupService);
};

Powered by Google App Engine
This is Rietveld 408576698