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

Unified Diff: components/sync/model/attachments/attachment.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/js/js_event_details.h ('k') | components/sync/model/attachments/attachment_id.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/model/attachments/attachment.h
diff --git a/components/sync/model/attachments/attachment.h b/components/sync/model/attachments/attachment.h
index 9e71d68df30a5ce1e0d9098d7c821f2b0043b17e..f59aee1b92790dd97e679dd2f0b5cf7c74fe2d12 100644
--- a/components/sync/model/attachments/attachment.h
+++ b/components/sync/model/attachments/attachment.h
@@ -63,8 +63,8 @@ class Attachment {
const scoped_refptr<base::RefCountedMemory>& data);
};
-typedef std::vector<Attachment> AttachmentList;
-typedef std::map<AttachmentId, Attachment> AttachmentMap;
+using AttachmentList = std::vector<Attachment>;
+using AttachmentMap = std::map<AttachmentId, Attachment>;
} // namespace syncer
« no previous file with comments | « components/sync/js/js_event_details.h ('k') | components/sync/model/attachments/attachment_id.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698