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

Unified Diff: components/sync/syncable/change_reorder_buffer.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/syncable/change_record.h ('k') | components/sync/syncable/change_reorder_buffer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/syncable/change_reorder_buffer.h
diff --git a/components/sync/syncable/change_reorder_buffer.h b/components/sync/syncable/change_reorder_buffer.h
index e1873c60d072a55acb542d071a39eed920aa4fb2..e79a7171b9c59722bb74da77d966cd2418a5393c 100644
--- a/components/sync/syncable/change_reorder_buffer.h
+++ b/components/sync/syncable/change_reorder_buffer.h
@@ -67,10 +67,10 @@ class ChangeReorderBuffer {
private:
class Traversal;
- typedef std::map<int64_t, ChangeRecord::Action> OperationMap;
- typedef std::map<int64_t, sync_pb::EntitySpecifics> SpecificsMap;
- typedef std::map<int64_t, linked_ptr<ExtraPasswordChangeRecordData>>
- ExtraDataMap;
+ using OperationMap = std::map<int64_t, ChangeRecord::Action>;
+ using SpecificsMap = std::map<int64_t, sync_pb::EntitySpecifics>;
+ using ExtraDataMap =
+ std::map<int64_t, linked_ptr<ExtraPasswordChangeRecordData>>;
// Stores the items that have been pushed into the buffer, and the type of
// operation that was associated with them.
« no previous file with comments | « components/sync/syncable/change_record.h ('k') | components/sync/syncable/change_reorder_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698