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

Unified Diff: chrome/browser/sync/glue/data_type_manager.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
Index: chrome/browser/sync/glue/data_type_manager.h
diff --git a/chrome/browser/sync/glue/data_type_manager.h b/chrome/browser/sync/glue/data_type_manager.h
index 2b51a0ef07accaa7980aed31d425f9027967aa29..eb02f118608537d91299cbead3616fa8b187366a 100644
--- a/chrome/browser/sync/glue/data_type_manager.h
+++ b/chrome/browser/sync/glue/data_type_manager.h
@@ -48,7 +48,7 @@ class DataTypeManager {
UNRECOVERABLE_ERROR // We got an unrecoverable error during startup.
};
- typedef std::set<syncable::ModelType> TypeSet;
+ typedef syncable::ModelEnumSet TypeSet;
// Note: |errors| is only filled when status is not OK.
struct ConfigureResult {
@@ -81,10 +81,10 @@ class DataTypeManager {
// Note that you may call Configure() while configuration is in
// progress. Configuration will be complete only when the
// desired_types supplied in the last call to Configure is achieved.
- virtual void Configure(const TypeSet& desired_types,
+ virtual void Configure(TypeSet desired_types,
sync_api::ConfigureReason reason) = 0;
- virtual void ConfigureWithoutNigori(const TypeSet& desired_types,
+ virtual void ConfigureWithoutNigori(TypeSet desired_types,
sync_api::ConfigureReason reason) = 0;
// Synchronously stops all registered data types. If called after
« no previous file with comments | « chrome/browser/sync/glue/bookmark_model_associator.cc ('k') | chrome/browser/sync/glue/data_type_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698