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

Unified Diff: components/sync/engine/attachments/attachment_downloader.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/attachments/attachment_downloader.h
diff --git a/components/sync/engine/attachments/attachment_downloader.h b/components/sync/engine/attachments/attachment_downloader.h
index 80e82a418b74b667893b90198609fca3bec58c4c..71b61c6371f2fad2ad160e8e034a5958aaeb0794 100644
--- a/components/sync/engine/attachments/attachment_downloader.h
+++ b/components/sync/engine/attachments/attachment_downloader.h
@@ -30,9 +30,8 @@ class AttachmentDownloader {
DOWNLOAD_UNSPECIFIED_ERROR, // An unspecified error occurred.
};
- typedef base::Callback<void(const DownloadResult&,
- std::unique_ptr<Attachment>)>
- DownloadCallback;
+ using DownloadCallback =
+ base::Callback<void(const DownloadResult&, std::unique_ptr<Attachment>)>;
virtual ~AttachmentDownloader();
« no previous file with comments | « components/sync/driver/sync_stopped_reporter.h ('k') | components/sync/engine/attachments/attachment_uploader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698