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

Unified Diff: components/sync/driver/generic_change_processor_factory.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/driver/generic_change_processor_factory.h
diff --git a/components/sync/driver/generic_change_processor_factory.h b/components/sync/driver/generic_change_processor_factory.h
index eaedbb116fded11c0e607d148ec36f607df75367..c071c5811703816a2eba573639f2a4ea8d107339 100644
--- a/components/sync/driver/generic_change_processor_factory.h
+++ b/components/sync/driver/generic_change_processor_factory.h
@@ -9,11 +9,11 @@
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
+#include "components/sync/api/data_type_error_handler.h"
#include "components/sync/base/model_type.h"
namespace syncer {
class AttachmentService;
-class DataTypeErrorHandler;
class SyncableService;
class SyncMergeResult;
struct UserShare;
@@ -40,7 +40,7 @@ class GenericChangeProcessorFactory {
virtual std::unique_ptr<GenericChangeProcessor> CreateGenericChangeProcessor(
syncer::ModelType type,
syncer::UserShare* user_share,
- syncer::DataTypeErrorHandler* error_handler,
+ std::unique_ptr<syncer::DataTypeErrorHandler> error_handler,
const base::WeakPtr<syncer::SyncableService>& local_service,
const base::WeakPtr<syncer::SyncMergeResult>& merge_result,
SyncClient* sync_client);
« no previous file with comments | « components/sync/driver/generic_change_processor.cc ('k') | components/sync/driver/generic_change_processor_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698