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

Unified Diff: components/sync_driver/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
« no previous file with comments | « components/sync_driver/sync_service.h ('k') | components/sync_driver/ui_data_type_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « components/sync_driver/sync_service.h ('k') | components/sync_driver/ui_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698