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

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

Issue 2618483003: [Sync] Introduce ModelError for USS error handling. (Closed)
Patch Set: Fix iOS reading list. Created 3 years, 11 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 e0df9d869a1ac6237a1a68b1f3e3a297102d2a54..5102b8106d78910059f93735bf388cf66a8f8b34 100644
--- a/components/sync/model/fake_model_type_change_processor.cc
+++ b/components/sync/model/fake_model_type_change_processor.cc
@@ -49,10 +49,20 @@ bool FakeModelTypeChangeProcessor::IsTrackingMetadata() {
return true;
}
+void FakeModelTypeChangeProcessor::OnUnrecoverableError(
+ const SyncError& error) {}
+
SyncError FakeModelTypeChangeProcessor::CreateAndUploadError(
const tracked_objects::Location& location,
- const std::string& message) {
+ const std::string& message,
+ ModelType type) {
return SyncError();
}
+std::unique_ptr<DataTypeErrorHandler> FakeModelTypeChangeProcessor::Copy()
+ const {
+ NOTREACHED();
+ return nullptr;
+}
+
} // namespace syncer

Powered by Google App Engine
This is Rietveld 408576698