Index: chrome/browser/sync/profile_sync_service_android.h |
diff --git a/chrome/browser/sync/profile_sync_service_android.h b/chrome/browser/sync/profile_sync_service_android.h |
index 45099020c3feb34e237ec9a1acf357a77862b8ad..68bc8547223b71fa893ae3608cb622d9739f7d27 100644 |
--- a/chrome/browser/sync/profile_sync_service_android.h |
+++ b/chrome/browser/sync/profile_sync_service_android.h |
@@ -19,6 +19,10 @@ |
#include "google/cacheinvalidation/include/types.h" |
#include "google_apis/gaia/google_service_auth_error.h" |
+namespace sync_driver { |
+class SyncSetupInProgressHandle; |
+} |
+ |
class Profile; |
class ProfileSyncService; |
@@ -191,6 +195,9 @@ class ProfileSyncServiceAndroid : public sync_driver::SyncServiceObserver { |
// A reference to the sync service for this profile. |
ProfileSyncService* sync_service_; |
+ // Handle preventing Sync from running until configuration is complete. |
+ std::unique_ptr<sync_driver::SyncSetupInProgressHandle> setup_handle_; |
+ |
// The class that handles getting, setting, and persisting sync |
// preferences. |
std::unique_ptr<sync_driver::SyncPrefs> sync_prefs_; |