Index: chrome/browser/sync/test/integration/profile_sync_service_harness.h |
diff --git a/chrome/browser/sync/test/integration/profile_sync_service_harness.h b/chrome/browser/sync/test/integration/profile_sync_service_harness.h |
index d4958b680c66381f0610f5e64082ee9a917a630f..f4925641933b44520f9117d24ce68061815d65d7 100644 |
--- a/chrome/browser/sync/test/integration/profile_sync_service_harness.h |
+++ b/chrome/browser/sync/test/integration/profile_sync_service_harness.h |
@@ -16,6 +16,10 @@ |
class Profile; |
class ProfileSyncService; |
+namespace sync_driver { |
+class SyncSetupInProgressHandle; |
+} |
+ |
// An instance of this class is basically our notion of a "sync client" for |
// automation purposes. It harnesses the ProfileSyncService member of the |
// profile passed to it on construction and automates certain things like setup |
@@ -140,6 +144,9 @@ class ProfileSyncServiceHarness { |
// ProfileSyncService object associated with |profile_|. |
ProfileSyncService* service_; |
+ // Handle preventing Sync from running until configuration is complete. |
+ std::unique_ptr<sync_driver::SyncSetupInProgressHandle> setup_handle_; |
+ |
// Credentials used for GAIA authentication. |
std::string username_; |
std::string password_; |