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

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

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
Index: components/sync/driver/fake_generic_change_processor.h
diff --git a/components/sync/driver/fake_generic_change_processor.h b/components/sync/driver/fake_generic_change_processor.h
index 395d8dbc7be599bbc9032b6fe9328e4184a204b2..351874052edcc0025c7fe1f09c5eb41150113c66 100644
--- a/components/sync/driver/fake_generic_change_processor.h
+++ b/components/sync/driver/fake_generic_change_processor.h
@@ -20,7 +20,7 @@ namespace syncer {
// A fake GenericChangeProcessor that can return arbitrary values.
class FakeGenericChangeProcessor : public GenericChangeProcessor {
public:
- FakeGenericChangeProcessor(ModelType type, SyncClient* sync_client);
+ explicit FakeGenericChangeProcessor(ModelType type);
~FakeGenericChangeProcessor() override;
// Setters for GenericChangeProcessor implementation results.
@@ -53,7 +53,7 @@ class FakeGenericChangeProcessorFactory : public GenericChangeProcessorFactory {
std::unique_ptr<DataTypeErrorHandler> error_handler,
const base::WeakPtr<SyncableService>& local_service,
const base::WeakPtr<SyncMergeResult>& merge_result,
- SyncClient* sync_client) override;
+ SyncApiComponentFactory* driver_factory) override;
private:
std::unique_ptr<FakeGenericChangeProcessor> processor_;
« no previous file with comments | « components/sync/driver/directory_data_type_controller.cc ('k') | components/sync/driver/fake_generic_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698