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

Unified Diff: components/sync/engine_impl/get_updates_processor.cc

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
Index: components/sync/engine_impl/get_updates_processor.cc
diff --git a/components/sync/engine_impl/get_updates_processor.cc b/components/sync/engine_impl/get_updates_processor.cc
index 943f4cd1d52aeea21b54a03c245985708f271797..b28c0e9e0c480eb0386859d5405673088d0ab5cc 100644
--- a/components/sync/engine_impl/get_updates_processor.cc
+++ b/components/sync/engine_impl/get_updates_processor.cc
@@ -23,9 +23,9 @@ namespace syncer {
namespace {
-typedef std::vector<const sync_pb::SyncEntity*> SyncEntityList;
-typedef std::map<ModelType, SyncEntityList> TypeSyncEntityMap;
-typedef std::map<ModelType, size_t> TypeToIndexMap;
+using SyncEntityList = std::vector<const sync_pb::SyncEntity*>;
+using TypeSyncEntityMap = std::map<ModelType, SyncEntityList>;
+using TypeToIndexMap = std::map<ModelType, size_t>;
bool ShouldRequestEncryptionKey(SyncCycleContext* context) {
syncable::Directory* dir = context->directory();

Powered by Google App Engine
This is Rietveld 408576698