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

Unified Diff: components/sync_driver/frontend_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/frontend_data_type_controller.h
diff --git a/components/sync_driver/frontend_data_type_controller.h b/components/sync_driver/frontend_data_type_controller.h
index 244395281d27f48344927f0a7cce6ef8b22efd0b..fdbb96a6679edb97de248d49a73e7b96a2b794f9 100644
--- a/components/sync_driver/frontend_data_type_controller.h
+++ b/components/sync_driver/frontend_data_type_controller.h
@@ -14,8 +14,6 @@
#include "components/sync_driver/data_type_controller.h"
#include "components/sync_driver/data_type_error_handler.h"
-class ProfileSyncComponentsFactory;
-
namespace base {
class SingleThreadTaskRunner;
class TimeDelta;
@@ -28,7 +26,7 @@ class SyncError;
namespace sync_driver {
class AssociatorInterface;
class ChangeProcessor;
-class SyncService;
+class SyncClient;
}
namespace browser_sync {
@@ -48,8 +46,7 @@ class FrontendDataTypeController : public sync_driver::DataTypeController {
FrontendDataTypeController(
scoped_refptr<base::SingleThreadTaskRunner> ui_thread,
const base::Closure& error_callback,
- ProfileSyncComponentsFactory* profile_sync_factory,
- sync_driver::SyncService* sync_service);
+ sync_driver::SyncClient* sync_client);
// DataTypeController interface.
void LoadModels(const ModelLoadCallback& model_load_callback) override;
@@ -113,8 +110,7 @@ class FrontendDataTypeController : public sync_driver::DataTypeController {
const tracked_objects::Location& from_here,
const std::string& message);
- ProfileSyncComponentsFactory* const profile_sync_factory_;
- sync_driver::SyncService* const sync_service_;
+ sync_driver::SyncClient* const sync_client_;
State state_;
« no previous file with comments | « components/sync_driver/fake_sync_service.cc ('k') | components/sync_driver/frontend_data_type_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698