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

Unified Diff: components/sync/driver/fake_generic_change_processor.cc

Issue 2799653006: Revert of [Sync] Stop accessing BrowserContextKeyedServiceFactory on non-UI thread. (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « components/sync/driver/fake_generic_change_processor.h ('k') | components/sync/driver/fake_sync_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/driver/fake_generic_change_processor.cc
diff --git a/components/sync/driver/fake_generic_change_processor.cc b/components/sync/driver/fake_generic_change_processor.cc
index 59f94d55131fb18a426291067f0c03f24a488a23..358b141677b5a9c17a2f5955495b5f65364a9256 100644
--- a/components/sync/driver/fake_generic_change_processor.cc
+++ b/components/sync/driver/fake_generic_change_processor.cc
@@ -12,13 +12,14 @@
namespace syncer {
-FakeGenericChangeProcessor::FakeGenericChangeProcessor(ModelType type)
+FakeGenericChangeProcessor::FakeGenericChangeProcessor(ModelType type,
+ SyncClient* sync_client)
: GenericChangeProcessor(type,
nullptr,
base::WeakPtr<SyncableService>(),
base::WeakPtr<SyncMergeResult>(),
nullptr,
- nullptr,
+ sync_client,
nullptr),
sync_model_has_user_created_nodes_(true),
sync_model_has_user_created_nodes_success_(true) {}
@@ -76,7 +77,7 @@
std::unique_ptr<DataTypeErrorHandler> error_handler,
const base::WeakPtr<SyncableService>& local_service,
const base::WeakPtr<SyncMergeResult>& merge_result,
- SyncApiComponentFactory* driver_factory) {
+ SyncClient* sync_client) {
return std::move(processor_);
}
« no previous file with comments | « components/sync/driver/fake_generic_change_processor.h ('k') | components/sync/driver/fake_sync_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698