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

Unified Diff: components/sync/model/entity_data.h

Issue 2689773002: [Sync] Replace typedef with using. (Closed)
Patch Set: [Sync] Replace typedef with using. Created 3 years, 10 months 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 | « components/sync/model/entity_change.h ('k') | components/sync/model/metadata_batch.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/model/entity_data.h
diff --git a/components/sync/model/entity_data.h b/components/sync/model/entity_data.h
index 6b7a1b18b4df0454906092a90c7d33a75a4b0046..ee7e18f298cbadee76748f18e31f9f3224107f84 100644
--- a/components/sync/model/entity_data.h
+++ b/components/sync/model/entity_data.h
@@ -26,9 +26,9 @@ struct EntityDataTraits {
static const EntityData& DefaultValue();
};
-typedef ProtoValuePtr<EntityData, EntityDataTraits> EntityDataPtr;
-typedef std::vector<EntityDataPtr> EntityDataList;
-typedef std::map<std::string, EntityDataPtr> EntityDataMap;
+using EntityDataPtr = ProtoValuePtr<EntityData, EntityDataTraits>;
+using EntityDataList = std::vector<EntityDataPtr>;
+using EntityDataMap = std::map<std::string, EntityDataPtr>;
// A light-weight container for sync entity data which represents either
// local data created on the ModelTypeSyncBridge side or remote data created
« no previous file with comments | « components/sync/model/entity_change.h ('k') | components/sync/model/metadata_batch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698