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

Unified Diff: components/sync/engine_impl/attachments/attachment_uploader_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_uploader_impl.h
diff --git a/components/sync/engine_impl/attachments/attachment_uploader_impl.h b/components/sync/engine_impl/attachments/attachment_uploader_impl.h
index 9285f3e178cbdd3daed64ddb2b69ea76823e4d99..90a27800d4ecc5ab0b9afeb69df48d45fb4427c6 100644
--- a/components/sync/engine_impl/attachments/attachment_uploader_impl.h
+++ b/components/sync/engine_impl/attachments/attachment_uploader_impl.h
@@ -81,8 +81,8 @@ class AttachmentUploaderImpl : public AttachmentUploader,
private:
class UploadState;
- typedef std::string UniqueId;
- typedef std::unordered_map<UniqueId, std::unique_ptr<UploadState>> StateMap;
+ using UniqueId = std::string;
+ using StateMap = std::unordered_map<UniqueId, std::unique_ptr<UploadState>>;
void OnUploadStateStopped(const UniqueId& unique_id);

Powered by Google App Engine
This is Rietveld 408576698