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

Unified Diff: components/sync/model/attachments/attachment_store.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/attachments/attachment_service.h ('k') | components/sync/model/data_batch.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/model/attachments/attachment_store.h
diff --git a/components/sync/model/attachments/attachment_store.h b/components/sync/model/attachments/attachment_store.h
index 0a5da9088a676a41dc727aaf94f2a5f3a091c249..f302b343a88327ff5eb6b1c6777bddf839ed0668 100644
--- a/components/sync/model/attachments/attachment_store.h
+++ b/components/sync/model/attachments/attachment_store.h
@@ -57,16 +57,15 @@ class AttachmentStore {
SYNC,
};
- typedef base::Callback<void(const Result&)> InitCallback;
- typedef base::Callback<void(const Result&,
- std::unique_ptr<AttachmentMap>,
- std::unique_ptr<AttachmentIdList>)>
- ReadCallback;
- typedef base::Callback<void(const Result&)> WriteCallback;
- typedef base::Callback<void(const Result&)> DropCallback;
- typedef base::Callback<void(const Result&,
- std::unique_ptr<AttachmentMetadataList>)>
- ReadMetadataCallback;
+ using InitCallback = base::Callback<void(const Result&)>;
+ using ReadCallback = base::Callback<void(const Result&,
+ std::unique_ptr<AttachmentMap>,
+ std::unique_ptr<AttachmentIdList>)>;
+ using WriteCallback = base::Callback<void(const Result&)>;
+ using DropCallback = base::Callback<void(const Result&)>;
+ using ReadMetadataCallback =
+ base::Callback<void(const Result&,
+ std::unique_ptr<AttachmentMetadataList>)>;
~AttachmentStore();
« no previous file with comments | « components/sync/model/attachments/attachment_service.h ('k') | components/sync/model/data_batch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698