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

Unified Diff: components/sync/engine_impl/commit.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/commit.h
diff --git a/components/sync/engine_impl/commit.h b/components/sync/engine_impl/commit.h
index 585038f9d11db3d212e2492b47fac0bdf2519f28..5e19e2f9bf0d4a781fb52affdf5035b03131a90d 100644
--- a/components/sync/engine_impl/commit.h
+++ b/components/sync/engine_impl/commit.h
@@ -36,8 +36,8 @@ class SyncCycle;
// PostAndProcessCommitResponse() functions. So they ended up here.
class Commit {
public:
- typedef std::map<ModelType, std::unique_ptr<CommitContribution>>
- ContributionMap;
+ using ContributionMap =
+ std::map<ModelType, std::unique_ptr<CommitContribution>>;
Commit(ContributionMap contributions,
const sync_pb::ClientToServerMessage& message,
« no previous file with comments | « components/sync/engine_impl/attachments/attachment_uploader_impl.cc ('k') | components/sync/engine_impl/commit_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698