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

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

Issue 2289143003: [Sync] Convert DTCs to be not RefCounted and NonThreadSafe. (Closed)
Patch Set: Rebase. Created 4 years, 3 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/api/fake_model_type_change_processor.cc
diff --git a/components/sync/api/fake_model_type_change_processor.cc b/components/sync/api/fake_model_type_change_processor.cc
index 65cea5fb64e164ad565ba3afce0683faad8b48f5..d94b03d398505d9bd54a9874880e5cb864f9f4bb 100644
--- a/components/sync/api/fake_model_type_change_processor.cc
+++ b/components/sync/api/fake_model_type_change_processor.cc
@@ -40,7 +40,7 @@ void FakeModelTypeChangeProcessor::OnMetadataLoaded(
std::unique_ptr<MetadataBatch> batch) {}
void FakeModelTypeChangeProcessor::OnSyncStarting(
- syncer::DataTypeErrorHandler* error_handler,
+ std::unique_ptr<syncer::DataTypeErrorHandler> error_handler,
const StartCallback& callback) {
if (!callback.is_null()) {
callback.Run(syncer::SyncError(), nullptr);
« no previous file with comments | « components/sync/api/fake_model_type_change_processor.h ('k') | components/sync/api/model_type_change_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698