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

Unified Diff: chrome/browser/sync/glue/sync_backend_registrar.h

Issue 8919021: [Sync] Rename ModelEnumSet to ModelTypeSet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/browser/sync/glue/sync_backend_registrar.h
diff --git a/chrome/browser/sync/glue/sync_backend_registrar.h b/chrome/browser/sync/glue/sync_backend_registrar.h
index 1fb2f2cc731b1163a114471b8cdacdfd9d44f334..22cfd8dd66461d47fc590a0a4dcbd838f6807f92 100644
--- a/chrome/browser/sync/glue/sync_backend_registrar.h
+++ b/chrome/browser/sync/glue/sync_backend_registrar.h
@@ -39,7 +39,7 @@ class SyncBackendRegistrar : public ModelSafeWorkerRegistrar,
// (initially put in the passive group). |name| is used for
// debugging. Does not take ownership of |profile| or |sync_loop|.
// Must be created on the UI thread.
- SyncBackendRegistrar(syncable::ModelEnumSet initial_types,
+ SyncBackendRegistrar(syncable::ModelTypeSet initial_types,
const std::string& name,
Profile* profile,
MessageLoop* sync_loop);
@@ -66,9 +66,9 @@ class SyncBackendRegistrar : public ModelSafeWorkerRegistrar,
// not already there (initially put in the passive group).
// |types_to_remove| and |types_to_add| must be disjoint. Returns
// the set of newly-added types. Must be called on the UI thread.
- syncable::ModelEnumSet ConfigureDataTypes(
- syncable::ModelEnumSet types_to_add,
- syncable::ModelEnumSet types_to_remove);
+ syncable::ModelTypeSet ConfigureDataTypes(
+ syncable::ModelTypeSet types_to_add,
+ syncable::ModelTypeSet types_to_remove);
// Must be called from the UI thread. (See destructor comment.)
void StopOnUIThread();
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host_unittest.cc ('k') | chrome/browser/sync/glue/sync_backend_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698