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

Unified Diff: chrome/browser/sync/backend_migrator.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/automation/testing_automation_provider.cc ('k') | chrome/browser/sync/backend_migrator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/backend_migrator.h
diff --git a/chrome/browser/sync/backend_migrator.h b/chrome/browser/sync/backend_migrator.h
index 7e771cbd104db9c12e037108a05dc2ab1e45ff78..ad341323f049bc5683ec0fd6524234f91ffe879d 100644
--- a/chrome/browser/sync/backend_migrator.h
+++ b/chrome/browser/sync/backend_migrator.h
@@ -55,7 +55,7 @@ class BackendMigrator : public content::NotificationObserver {
virtual ~BackendMigrator();
// Starts a sequence of events that will disable and reenable |types|.
- void MigrateTypes(const syncable::ModelTypeSet& types);
+ void MigrateTypes(syncable::ModelEnumSet types);
void AddMigrationObserver(MigrationObserver* observer);
bool HasMigrationObserver(MigrationObserver* observer) const;
@@ -69,7 +69,7 @@ class BackendMigrator : public content::NotificationObserver {
State state() const;
// Returns the types that are currently pending migration (if any).
- syncable::ModelTypeSet GetPendingMigrationTypesForTest() const;
+ syncable::ModelEnumSet GetPendingMigrationTypesForTest() const;
private:
void ChangeState(State new_state);
@@ -97,7 +97,7 @@ class BackendMigrator : public content::NotificationObserver {
ObserverList<MigrationObserver> migration_observers_;
- syncable::ModelTypeSet to_migrate_;
+ syncable::ModelEnumSet to_migrate_;
base::WeakPtrFactory<BackendMigrator> weak_ptr_factory_;
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.cc ('k') | chrome/browser/sync/backend_migrator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698