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

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

Issue 8851006: [Sync] Replace all instances of ModelTypeSet with ModelEnumSet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup pass #2 Created 9 years 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
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/sync/profile_sync_service_harness.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service_harness.h
diff --git a/chrome/browser/sync/profile_sync_service_harness.h b/chrome/browser/sync/profile_sync_service_harness.h
index 4ac71c0cc3126cd0cca4cc5fa6ed02bc952052e1..4317e340f4e5346928012641a415d4d9da57ad0e 100644
--- a/chrome/browser/sync/profile_sync_service_harness.h
+++ b/chrome/browser/sync/profile_sync_service_harness.h
@@ -59,7 +59,7 @@ class ProfileSyncServiceHarness
// Same as the above method, but enables sync only for the datatypes contained
// in |synced_datatypes|.
- bool SetupSync(const syncable::ModelTypeSet& synced_datatypes);
+ bool SetupSync(syncable::ModelEnumSet synced_datatypes);
// ProfileSyncServiceObserver implementation.
virtual void OnStateChanged() OVERRIDE;
@@ -102,7 +102,7 @@ class ProfileSyncServiceHarness
bool AwaitActionableError();
// Blocks until the given set of data types are migrated.
- bool AwaitMigration(const syncable::ModelTypeSet& expected_migrated_types);
+ bool AwaitMigration(syncable::ModelEnumSet expected_migrated_types);
// Blocks the caller until this harness has observed that the sync engine
// has downloaded all the changes seen by the |partner| harness's client.
@@ -335,11 +335,11 @@ class ProfileSyncServiceHarness
// The current set of data types pending migration. Used by
// AwaitMigration().
- syncable::ModelTypeSet pending_migration_types_;
+ syncable::ModelEnumSet pending_migration_types_;
// The set of data types that have undergone migration. Used by
// AwaitMigration().
- syncable::ModelTypeSet migrated_types_;
+ syncable::ModelEnumSet migrated_types_;
// Used for logging.
const std::string profile_debug_name_;
« no previous file with comments | « chrome/browser/sync/profile_sync_service.cc ('k') | chrome/browser/sync/profile_sync_service_harness.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698