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

Unified Diff: components/sync_driver/non_ui_data_type_controller.h

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
Index: components/sync_driver/non_ui_data_type_controller.h
diff --git a/components/sync_driver/non_ui_data_type_controller.h b/components/sync_driver/non_ui_data_type_controller.h
index 2ea7dc8ec3f5bf606614be4a3f08193bff851280..09bee6a6fe830bce20ef6d2dbb2409750c276b8b 100644
--- a/components/sync_driver/non_ui_data_type_controller.h
+++ b/components/sync_driver/non_ui_data_type_controller.h
@@ -20,14 +20,14 @@ class SyncableService;
namespace sync_driver {
-class SyncApiComponentFactory;
+class SyncClient;
class NonUIDataTypeController : public DataTypeController {
public:
NonUIDataTypeController(
scoped_refptr<base::SingleThreadTaskRunner> ui_thread,
const base::Closure& error_callback,
- SyncApiComponentFactory* sync_factory);
+ SyncClient* sync_client);
// DataTypeController interface.
void LoadModels(const ModelLoadCallback& model_load_callback) override;
@@ -124,7 +124,7 @@ class NonUIDataTypeController : public DataTypeController {
// Note: this is performed on the UI thread.
void DisableImpl(const syncer::SyncError& error);
- SyncApiComponentFactory* const sync_factory_;
+ SyncClient* const sync_client_;
// State of this datatype controller.
State state_;
« no previous file with comments | « components/sync_driver/generic_change_processor_unittest.cc ('k') | components/sync_driver/non_ui_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698