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

Unified Diff: components/sync/model/attachments/attachment_service.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/model/attachments/attachment_service.h
diff --git a/components/sync/model/attachments/attachment_service.h b/components/sync/model/attachments/attachment_service.h
index a698101570fabfca87748d64c2d760cf154fb505..25845bab13b1af202c9961d4e39948de252d1f38 100644
--- a/components/sync/model/attachments/attachment_service.h
+++ b/components/sync/model/attachments/attachment_service.h
@@ -33,9 +33,9 @@ class AttachmentService {
GET_UNSPECIFIED_ERROR, // An unspecified error occurred.
};
- typedef base::Callback<void(const GetOrDownloadResult&,
- std::unique_ptr<AttachmentMap> attachments)>
- GetOrDownloadCallback;
+ using GetOrDownloadCallback =
+ base::Callback<void(const GetOrDownloadResult&,
+ std::unique_ptr<AttachmentMap> attachments)>;
// An interface that embedder code implements to be notified about different
// events that originate from AttachmentService.
« no previous file with comments | « components/sync/model/attachments/attachment_metadata.h ('k') | components/sync/model/attachments/attachment_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698