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

Unified Diff: components/sync/test/fake_server/fake_server.cc

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/test/fake_server/fake_server.cc
diff --git a/components/sync/test/fake_server/fake_server.cc b/components/sync/test/fake_server/fake_server.cc
index a7f1cc193d855f39ba37de5395a05911bbe21094..c2a1a603e51de1d4cc45dbddb49fc835e41f5943 100644
--- a/components/sync/test/fake_server/fake_server.cc
+++ b/components/sync/test/fake_server/fake_server.cc
@@ -88,7 +88,7 @@ class UpdateSieve {
}
private:
- typedef std::map<ModelType, int64_t> ModelTypeToVersionMap;
+ using ModelTypeToVersionMap = std::map<ModelType, int64_t>;
static UpdateSieve::ModelTypeToVersionMap MessageToVersionMap(
const sync_pb::GetUpdatesMessage& get_updates_message) {
« no previous file with comments | « components/sync/test/engine/mock_model_type_processor.h ('k') | components/sync/test/fake_server/sessions_hierarchy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698