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

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

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.h
diff --git a/components/sync/api/fake_model_type_change_processor.h b/components/sync/api/fake_model_type_change_processor.h
index d41942b82aac59a25821881ddda548dde90cb70d..4f31a6a6e0f2303fa5d1c6d95d6d3c020450ab23 100644
--- a/components/sync/api/fake_model_type_change_processor.h
+++ b/components/sync/api/fake_model_type_change_processor.h
@@ -5,6 +5,7 @@
#ifndef COMPONENTS_SYNC_API_FAKE_MODEL_TYPE_CHANGE_PROCESSOR_H_
#define COMPONENTS_SYNC_API_FAKE_MODEL_TYPE_CHANGE_PROCESSOR_H_
+#include <memory>
#include <string>
#include "components/sync/api/metadata_change_list.h"
@@ -33,8 +34,9 @@ class FakeModelTypeChangeProcessor : public ModelTypeChangeProcessor {
MetadataChangeList* metadata_change_list) override;
void OnMetadataLoaded(syncer::SyncError error,
std::unique_ptr<MetadataBatch> batch) override;
- void OnSyncStarting(syncer::DataTypeErrorHandler* error_handler,
- const StartCallback& callback) override;
+ void OnSyncStarting(
+ std::unique_ptr<syncer::DataTypeErrorHandler> error_handler,
+ const StartCallback& callback) override;
void DisableSync() override;
syncer::SyncError CreateAndUploadError(
const tracked_objects::Location& location,
« no previous file with comments | « components/sync/api/data_type_error_handler_mock.cc ('k') | components/sync/api/fake_model_type_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698