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

Unified Diff: components/sync/model_impl/model_type_store_backend.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
« no previous file with comments | « components/sync/model_impl/attachments/task_queue.h ('k') | components/sync/syncable/change_record.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/model_impl/model_type_store_backend.h
diff --git a/components/sync/model_impl/model_type_store_backend.h b/components/sync/model_impl/model_type_store_backend.h
index 4c99ad24bea51e434282809279e14fe4c1eefd83..193c51ad7c94efede100e8faa4475f5fbd7faea3 100644
--- a/components/sync/model_impl/model_type_store_backend.h
+++ b/components/sync/model_impl/model_type_store_backend.h
@@ -28,7 +28,7 @@ namespace syncer {
class ModelTypeStoreBackend
: public base::RefCountedThreadSafe<ModelTypeStoreBackend> {
public:
- typedef std::unordered_map<std::string, ModelTypeStoreBackend*> BackendMap;
+ using BackendMap = std::unordered_map<std::string, ModelTypeStoreBackend*>;
// Helper function to create in memory environment for leveldb.
static std::unique_ptr<leveldb::Env> CreateInMemoryEnv();
« no previous file with comments | « components/sync/model_impl/attachments/task_queue.h ('k') | components/sync/syncable/change_record.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698