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

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

Issue 2769113002: [Sync] Stop accessing BrowserContextKeyedServiceFactory on non-UI thread. (Closed)
Patch Set: Rebase and removing dependent patch set. Created 3 years, 9 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 358b141677b5a9c17a2f5955495b5f65364a9256..59f94d55131fb18a426291067f0c03f24a488a23 100644
--- a/components/sync/driver/fake_generic_change_processor.cc
+++ b/components/sync/driver/fake_generic_change_processor.cc
@@ -12,14 +12,13 @@
namespace syncer {
-FakeGenericChangeProcessor::FakeGenericChangeProcessor(ModelType type,
- SyncClient* sync_client)
+FakeGenericChangeProcessor::FakeGenericChangeProcessor(ModelType type)
: GenericChangeProcessor(type,
nullptr,
base::WeakPtr<SyncableService>(),
base::WeakPtr<SyncMergeResult>(),
nullptr,
- sync_client,
+ nullptr,
nullptr),
sync_model_has_user_created_nodes_(true),
sync_model_has_user_created_nodes_success_(true) {}
@@ -77,7 +76,7 @@ FakeGenericChangeProcessorFactory::CreateGenericChangeProcessor(
std::unique_ptr<DataTypeErrorHandler> error_handler,
const base::WeakPtr<SyncableService>& local_service,
const base::WeakPtr<SyncMergeResult>& merge_result,
- SyncClient* sync_client) {
+ SyncApiComponentFactory* driver_factory) {
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