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

Unified Diff: components/sync/model/mock_model_type_store.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/metadata_batch.h ('k') | components/sync/model/model_type_change_processor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/model/mock_model_type_store.h
diff --git a/components/sync/model/mock_model_type_store.h b/components/sync/model/mock_model_type_store.h
index 880c8e29ad8ba9fc7e34773d889305bc0659ed24..27a8d86dba603a0c6accecd4fc3003c8c55cc96a 100644
--- a/components/sync/model/mock_model_type_store.h
+++ b/components/sync/model/mock_model_type_store.h
@@ -44,21 +44,20 @@ namespace syncer {
class MockModelTypeStore : public ModelTypeStore {
public:
// Signatures for all ModelTypeStore virtual functions.
- typedef base::Callback<void(const ReadAllDataCallback&)> ReadAllDataSignature;
- typedef base::Callback<void(const IdList&, const ReadDataCallback&)>
- ReadDataSignature;
- typedef base::Callback<void(const ReadMetadataCallback& callback)>
- ReadAllMetadataSignature;
- typedef base::Callback<void(std::unique_ptr<WriteBatch>, CallbackWithResult)>
- CommitWriteBatchSignature;
- typedef base::Callback<
- void(WriteBatch*, const std::string&, const std::string&)>
- WriteRecordSignature;
- typedef base::Callback<void(WriteBatch*, const std::string&)>
- WriteGlobalMetadataSignature;
- typedef base::Callback<void(WriteBatch*, const std::string&)>
- DeleteRecordSignature;
- typedef base::Callback<void(WriteBatch*)> DeleteGlobalMetadataSignature;
+ using ReadAllDataSignature = base::Callback<void(const ReadAllDataCallback&)>;
+ using ReadDataSignature =
+ base::Callback<void(const IdList&, const ReadDataCallback&)>;
+ using ReadAllMetadataSignature =
+ base::Callback<void(const ReadMetadataCallback& callback)>;
+ using CommitWriteBatchSignature =
+ base::Callback<void(std::unique_ptr<WriteBatch>, CallbackWithResult)>;
+ using WriteRecordSignature =
+ base::Callback<void(WriteBatch*, const std::string&, const std::string&)>;
+ using WriteGlobalMetadataSignature =
+ base::Callback<void(WriteBatch*, const std::string&)>;
+ using DeleteRecordSignature =
+ base::Callback<void(WriteBatch*, const std::string&)>;
+ using DeleteGlobalMetadataSignature = base::Callback<void(WriteBatch*)>;
MockModelTypeStore();
~MockModelTypeStore() override;
« no previous file with comments | « components/sync/model/metadata_batch.h ('k') | components/sync/model/model_type_change_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698