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

Unified Diff: components/sync/model/mock_model_type_store.cc

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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/data_type_error_handler_impl.cc ('k') | components/sync/model/model_type_store.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.cc
diff --git a/components/sync/model/mock_model_type_store.cc b/components/sync/model/mock_model_type_store.cc
index ac2a9d272590204e83c5ea225f98337ced47b191..73b512c3ea0a96cb2026ae22cd79ac07c6f48524 100644
--- a/components/sync/model/mock_model_type_store.cc
+++ b/components/sync/model/mock_model_type_store.cc
@@ -46,9 +46,8 @@ void MockModelTypeStore::ReadAllMetadata(const ReadMetadataCallback& callback) {
read_all_metadata_handler_.Run(callback);
} else {
base::ThreadTaskRunnerHandle::Get()->PostTask(
- FROM_HERE,
- base::Bind(callback, Result::SUCCESS,
- base::Passed(std::unique_ptr<RecordList>()), std::string()));
+ FROM_HERE, base::Bind(callback, SyncError(),
+ base::Passed(std::unique_ptr<MetadataBatch>())));
}
}
« no previous file with comments | « components/sync/model/data_type_error_handler_impl.cc ('k') | components/sync/model/model_type_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698