Index: chrome/browser/ui/webui/settings/people_handler.h |
diff --git a/chrome/browser/ui/webui/settings/people_handler.h b/chrome/browser/ui/webui/settings/people_handler.h |
index 4a98df8a598fc3ba6334f5dc12870158f381783e..bfacf969bf24e329558aa886282528d68b800c41 100644 |
--- a/chrome/browser/ui/webui/settings/people_handler.h |
+++ b/chrome/browser/ui/webui/settings/people_handler.h |
@@ -33,6 +33,10 @@ namespace signin_metrics { |
enum class AccessPoint; |
} |
+namespace sync_driver { |
+class SyncSetupInProgressHandle; |
+} |
+ |
namespace settings { |
class PeopleHandler : public SettingsPageUIHandler, |
@@ -185,6 +189,9 @@ class PeopleHandler : public SettingsPageUIHandler, |
// Helper object used to wait for the sync backend to startup. |
std::unique_ptr<SyncStartupTracker> sync_startup_tracker_; |
+ // Handle preventing Sync from running until configuration is complete. |
+ std::unique_ptr<sync_driver::SyncSetupInProgressHandle> setup_handle_; |
+ |
// Set to true whenever the sync configure UI is visible. This is used to tell |
// what stage of the setup wizard the user was in and to update the UMA |
// histograms in the case that the user cancels out. |