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

Unified Diff: chrome/browser/sync/test/integration/profile_sync_service_harness.h

Issue 2735253002: Remove useless blocking handle from sync integ tests.
Patch Set: Created 3 years, 9 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 b4b82eb24c0a4f98daa69dad2a1b7ed36558a8a8..61c8662463e2dbc1c032a782f78a5db62096a68c 100644
--- a/chrome/browser/sync/test/integration/profile_sync_service_harness.h
+++ b/chrome/browser/sync/test/integration/profile_sync_service_harness.h
@@ -20,10 +20,6 @@ namespace browser_sync {
class ProfileSyncService;
} // namespace browser_sync
-namespace syncer {
-class SyncSetupInProgressHandle;
-} // namespace syncer
-
// 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
@@ -126,9 +122,6 @@ class ProfileSyncServiceHarness {
// available), annotated with |message|. Useful for logging.
std::string GetClientInfoString(const std::string& message) const;
- // Signals that sync setup is complete, and that PSS may begin syncing.
- void FinishSyncSetup();
-
private:
ProfileSyncServiceHarness(
Profile* profile,
@@ -148,9 +141,6 @@ class ProfileSyncServiceHarness {
// ProfileSyncService object associated with |profile_|.
browser_sync::ProfileSyncService* service_;
- // Prevents Sync from running until configuration is complete.
- std::unique_ptr<syncer::SyncSetupInProgressHandle> sync_blocker_;
-
// Credentials used for GAIA authentication.
std::string username_;
std::string password_;

Powered by Google App Engine
This is Rietveld 408576698