Index: components/sync_driver/ui_data_type_controller.h |
diff --git a/components/sync_driver/ui_data_type_controller.h b/components/sync_driver/ui_data_type_controller.h |
index 4bdcecdba982530c27b8048fc879f63092d19e8e..a1e086a9d1de9c4d834e220301ffb72bf6f562fb 100644 |
--- a/components/sync_driver/ui_data_type_controller.h |
+++ b/components/sync_driver/ui_data_type_controller.h |
@@ -20,6 +20,7 @@ class TimeDelta; |
namespace syncer { |
class SyncableService; |
+class SyncClient; |
class SyncError; |
} |
@@ -35,7 +36,7 @@ class UIDataTypeController : public DataTypeController { |
scoped_refptr<base::SingleThreadTaskRunner> ui_thread, |
const base::Closure& error_callback, |
syncer::ModelType type, |
- SyncApiComponentFactory* sync_factory); |
+ SyncClient* sync_client); |
// DataTypeController interface. |
void LoadModels(const ModelLoadCallback& model_load_callback) override; |
@@ -87,7 +88,7 @@ class UIDataTypeController : public DataTypeController { |
// Record causes of start failure. |
virtual void RecordStartFailure(ConfigureResult result); |
- SyncApiComponentFactory* const sync_factory_; |
+ SyncClient* const sync_client_; |
State state_; |