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

Unified Diff: components/sync/driver/sync_api_component_factory.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/driver/shared_change_processor.h ('k') | components/sync/driver/sync_stopped_reporter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/sync_api_component_factory.h
diff --git a/components/sync/driver/sync_api_component_factory.h b/components/sync/driver/sync_api_component_factory.h
index 122fc1110b54c8c51a1a680ed7edd2f20b3bccef..a8e0692ae16a2ed5745b538ec5baa18a5aad008d 100644
--- a/components/sync/driver/sync_api_component_factory.h
+++ b/components/sync/driver/sync_api_component_factory.h
@@ -48,10 +48,10 @@ class SyncApiComponentFactory {
// data type controllers.
// |disabled_types| and |enabled_types| control the disable/enable state of
// types that are on or off by default (respectively).
- typedef base::Callback<void(SyncService* sync_service,
- ModelTypeSet disabled_types,
- ModelTypeSet enabled_types)>
- RegisterDataTypesMethod;
+ using RegisterDataTypesMethod =
+ base::Callback<void(SyncService* sync_service,
+ ModelTypeSet disabled_types,
+ ModelTypeSet enabled_types)>;
// The various factory methods for the data type model associators
// and change processors all return this struct. This is needed
« no previous file with comments | « components/sync/driver/shared_change_processor.h ('k') | components/sync/driver/sync_stopped_reporter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698