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

Unified Diff: components/sync_driver/fake_generic_change_processor.cc

Issue 1310553005: [Sync] Replace ProfileSyncComponentsFactory with SyncClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Really fix GN Created 5 years, 4 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 165173fc961f97dff42a20535199665949ced529..599475b2b1c2ae10aef33dfeb93735057608aa78 100644
--- a/components/sync_driver/fake_generic_change_processor.cc
+++ b/components/sync_driver/fake_generic_change_processor.cc
@@ -13,13 +13,13 @@ namespace sync_driver {
FakeGenericChangeProcessor::FakeGenericChangeProcessor(
syncer::ModelType type,
- SyncApiComponentFactory* sync_factory)
+ SyncClient* sync_client)
: GenericChangeProcessor(type,
NULL,
base::WeakPtr<syncer::SyncableService>(),
base::WeakPtr<syncer::SyncMergeResult>(),
NULL,
- sync_factory,
+ sync_client,
nullptr),
sync_model_has_user_created_nodes_(true),
sync_model_has_user_created_nodes_success_(true) {
@@ -78,7 +78,7 @@ FakeGenericChangeProcessorFactory::CreateGenericChangeProcessor(
DataTypeErrorHandler* error_handler,
const base::WeakPtr<syncer::SyncableService>& local_service,
const base::WeakPtr<syncer::SyncMergeResult>& merge_result,
- SyncApiComponentFactory* sync_factory) {
+ SyncClient* sync_client) {
return processor_.Pass();
}
« 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