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

Unified Diff: components/sync/engine_impl/attachments/attachment_downloader_impl.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_impl/attachments/attachment_downloader_impl.h
diff --git a/components/sync/engine_impl/attachments/attachment_downloader_impl.h b/components/sync/engine_impl/attachments/attachment_downloader_impl.h
index 85a762cc85b5a4ff304e3f6a3053d9f0b9368256..2a4cef8a65f0fba0095b8f5b4d0eab382bb0baf1 100644
--- a/components/sync/engine_impl/attachments/attachment_downloader_impl.h
+++ b/components/sync/engine_impl/attachments/attachment_downloader_impl.h
@@ -82,10 +82,10 @@ class AttachmentDownloaderImpl : public AttachmentDownloader,
FRIEND_TEST_ALL_PREFIXES(AttachmentDownloaderImplTest, ExtractCrc32c_Empty);
struct DownloadState;
- typedef std::string AttachmentUrl;
- typedef std::unordered_map<AttachmentUrl, std::unique_ptr<DownloadState>>
- StateMap;
- typedef std::vector<DownloadState*> StateList;
+ using AttachmentUrl = std::string;
+ using StateMap =
+ std::unordered_map<AttachmentUrl, std::unique_ptr<DownloadState>>;
+ using StateList = std::vector<DownloadState*>;
std::unique_ptr<net::URLFetcher> CreateFetcher(
const AttachmentUrl& url,
« no previous file with comments | « components/sync/engine/sync_manager.h ('k') | components/sync/engine_impl/attachments/attachment_downloader_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698