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

Unified Diff: components/sync/model/model_type_sync_bridge.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/model_type_store.h ('k') | components/sync/model/string_ordinal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/model/model_type_sync_bridge.h
diff --git a/components/sync/model/model_type_sync_bridge.h b/components/sync/model/model_type_sync_bridge.h
index 12b9ddc7ec469b91f800ad3a2291e4eb19a052ff..dd3793845cb081f72ebdaceadd1e74958a454f61 100644
--- a/components/sync/model/model_type_sync_bridge.h
+++ b/components/sync/model/model_type_sync_bridge.h
@@ -34,12 +34,10 @@ class MetadataChangeList;
// ReportError() method should be called instead of ModelReadyToSync().
class ModelTypeSyncBridge : public base::SupportsWeakPtr<ModelTypeSyncBridge> {
public:
- typedef base::Callback<void(std::unique_ptr<DataBatch>)> DataCallback;
- typedef std::vector<std::string> StorageKeyList;
- typedef base::RepeatingCallback<std::unique_ptr<ModelTypeChangeProcessor>(
- ModelType type,
- ModelTypeSyncBridge* bridge)>
- ChangeProcessorFactory;
+ using DataCallback = base::Callback<void(std::unique_ptr<DataBatch>)>;
+ using StorageKeyList = std::vector<std::string>;
+ using ChangeProcessorFactory = base::RepeatingCallback<std::unique_ptr<
+ ModelTypeChangeProcessor>(ModelType type, ModelTypeSyncBridge* bridge)>;
ModelTypeSyncBridge(const ChangeProcessorFactory& change_processor_factory,
ModelType type);
« no previous file with comments | « components/sync/model/model_type_store.h ('k') | components/sync/model/string_ordinal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698