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

Unified Diff: chrome/browser/sync/test/integration/profile_sync_service_harness.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/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_;

Powered by Google App Engine
This is Rietveld 408576698