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

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

Issue 2406163006: [Sync] Services can now always assume processor exists. (Closed)
Patch Set: Updates for Max. Created 4 years, 2 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: components/sync/model/fake_model_type_change_processor.cc
diff --git a/components/sync/model/fake_model_type_change_processor.cc b/components/sync/model/fake_model_type_change_processor.cc
index d1f62f032d78f154b9df462b8be5c07d9c0daa44..b4d3eacdf4fad27b61b8cc6940838c0226c43897 100644
--- a/components/sync/model/fake_model_type_change_processor.cc
+++ b/components/sync/model/fake_model_type_change_processor.cc
@@ -45,6 +45,10 @@ void FakeModelTypeChangeProcessor::OnSyncStarting(
void FakeModelTypeChangeProcessor::DisableSync() {}
+bool FakeModelTypeChangeProcessor::IsTrackingMetadata() {
+ return true;
+}
+
SyncError FakeModelTypeChangeProcessor::CreateAndUploadError(
const tracked_objects::Location& location,
const std::string& message) {
« no previous file with comments | « components/sync/model/fake_model_type_change_processor.h ('k') | components/sync/model/fake_model_type_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698