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

Unified Diff: chrome/browser/sync/glue/history_delete_directives_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: chrome/browser/sync/glue/history_delete_directives_data_type_controller.h
diff --git a/chrome/browser/sync/glue/history_delete_directives_data_type_controller.h b/chrome/browser/sync/glue/history_delete_directives_data_type_controller.h
index 58cfea621be9e5694fb7d9a2e618e475458cc14a..e1e348158c7cb81860b8114a06ca91e653c14a0d 100644
--- a/chrome/browser/sync/glue/history_delete_directives_data_type_controller.h
+++ b/chrome/browser/sync/glue/history_delete_directives_data_type_controller.h
@@ -9,9 +9,6 @@
#include "components/sync_driver/sync_service_observer.h"
#include "components/sync_driver/ui_data_type_controller.h"
-class Profile;
-class ProfileSyncService;
-
namespace browser_sync {
// A controller for delete directives, which cannot sync when full encryption
@@ -21,8 +18,7 @@ class HistoryDeleteDirectivesDataTypeController
public sync_driver::SyncServiceObserver {
public:
HistoryDeleteDirectivesDataTypeController(
- sync_driver::SyncApiComponentFactory* factory,
- ProfileSyncService* sync_service);
+ sync_driver::SyncClient* sync_client);
// UIDataTypeController override.
bool ReadyForStart() const override;
@@ -40,7 +36,7 @@ class HistoryDeleteDirectivesDataTypeController
// type is no longer ready, else does nothing and returns false.
bool DisableTypeIfNecessary();
- ProfileSyncService* sync_service_;
+ sync_driver::SyncClient* sync_client_;
DISALLOW_COPY_AND_ASSIGN(HistoryDeleteDirectivesDataTypeController);
};

Powered by Google App Engine
This is Rietveld 408576698