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

Unified Diff: chrome/browser/sync/syncable/model_type_payload_map.h

Issue 8772074: [Sync] Convert syncable/ directory to ModelEnumSet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to head, and fix compile errors 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/syncable/model_type_payload_map.h
diff --git a/chrome/browser/sync/syncable/model_type_payload_map.h b/chrome/browser/sync/syncable/model_type_payload_map.h
index e4b581783591f12131f4d0f80c0c319caa6d0fc7..66936a18ca68ffafae6b1eb8b1e06300baf6ada2 100644
--- a/chrome/browser/sync/syncable/model_type_payload_map.h
+++ b/chrome/browser/sync/syncable/model_type_payload_map.h
@@ -26,13 +26,13 @@ typedef std::map<ModelType, std::string> ModelTypePayloadMap;
// Helper functions for building ModelTypePayloadMaps.
-// Make a TypePayloadMap from all the types in a ModelTypeBitSet using
+// Make a TypePayloadMap from all the types in a ModelTypeEnumSet using
// a default payload.
-ModelTypePayloadMap ModelTypePayloadMapFromBitSet(
- const ModelTypeBitSet& model_types,
- const std::string& payload);
+ModelTypePayloadMap ModelTypePayloadMapFromEnumSet(
+ ModelEnumSet model_types, const std::string& payload);
-ModelTypeSet ModelTypePayloadMapToSet(const ModelTypePayloadMap& payload_map);
+ModelEnumSet ModelTypePayloadMapToEnumSet(
+ const ModelTypePayloadMap& payload_map);
// Make a TypePayloadMap for all the enabled types in a
// ModelSafeRoutingInfo using a default payload.

Powered by Google App Engine
This is Rietveld 408576698