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

Unified Diff: chrome/browser/sync/test/integration/sync_extension_helper.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: chrome/browser/sync/test/integration/sync_extension_helper.h
diff --git a/chrome/browser/sync/test/integration/sync_extension_helper.h b/chrome/browser/sync/test/integration/sync_extension_helper.h
index 71b55deaf82a5d436a7a872a835f96085c638c6d..a2ff3a42feba3e7e038fe4b54dee60aa8f387932 100644
--- a/chrome/browser/sync/test/integration/sync_extension_helper.h
+++ b/chrome/browser/sync/test/integration/sync_extension_helper.h
@@ -94,12 +94,12 @@ class SyncExtensionHelper {
bool incognito_enabled;
};
- typedef std::map<std::string, ExtensionState> ExtensionStateMap;
- typedef std::map<std::string, scoped_refptr<extensions::Extension> >
- ExtensionNameMap;
- typedef std::map<Profile*, ExtensionNameMap> ProfileExtensionNameMap;
- typedef std::map<std::string, std::string> StringMap;
- typedef std::map<std::string, extensions::Manifest::Type> TypeMap;
+ using ExtensionStateMap = std::map<std::string, ExtensionState>;
+ using ExtensionNameMap =
+ std::map<std::string, scoped_refptr<extensions::Extension>>;
+ using ProfileExtensionNameMap = std::map<Profile*, ExtensionNameMap>;
+ using StringMap = std::map<std::string, std::string>;
+ using TypeMap = std::map<std::string, extensions::Manifest::Type>;
friend struct base::DefaultSingletonTraits<SyncExtensionHelper>;

Powered by Google App Engine
This is Rietveld 408576698