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

Unified Diff: components/sync/engine_impl/sync_manager_impl.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
Index: components/sync/engine_impl/sync_manager_impl.h
diff --git a/components/sync/engine_impl/sync_manager_impl.h b/components/sync/engine_impl/sync_manager_impl.h
index 6dbc42aaacd36a157ff32568bfabbd29c02ad328..7b12fb88276d8726f687c14513ef0f64500086d7 100644
--- a/components/sync/engine_impl/sync_manager_impl.h
+++ b/components/sync/engine_impl/sync_manager_impl.h
@@ -200,7 +200,7 @@ class SyncManagerImpl
base::TimeDelta GetNudgeDelayTimeDelta(const ModelType& model_type);
- typedef std::map<ModelType, NotificationInfo> NotificationInfoMap;
+ using NotificationInfoMap = std::map<ModelType, NotificationInfo>;
// Determine if the parents or predecessors differ between the old and new
// versions of an entry. Note that a node's index may change without its
@@ -291,7 +291,7 @@ class SyncManagerImpl
// forwarded to the observer slightly later, at the TRANSACTION_ENDING step
// by HandleTransactionEndingChangeEvent. The list is cleared after observer
// finishes processing.
- typedef std::map<int, ImmutableChangeRecordList> ChangeRecordMap;
+ using ChangeRecordMap = std::map<int, ImmutableChangeRecordList>;
ChangeRecordMap change_records_;
SyncManager::ChangeDelegate* change_delegate_;
« no previous file with comments | « components/sync/engine_impl/process_updates_util.h ('k') | components/sync/engine_impl/sync_scheduler_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698