Index: chrome/browser/sync/glue/bookmark_data_type_controller.h |
diff --git a/chrome/browser/sync/glue/bookmark_data_type_controller.h b/chrome/browser/sync/glue/bookmark_data_type_controller.h |
index 60e58df2bc4498739444e237ae3c242b5c647f16..07c3843b817f6c6d908a79db5c00fd58190eb3a6 100644 |
--- a/chrome/browser/sync/glue/bookmark_data_type_controller.h |
+++ b/chrome/browser/sync/glue/bookmark_data_type_controller.h |
@@ -13,7 +13,6 @@ |
#include "components/history/core/browser/history_service_observer.h" |
#include "components/sync_driver/frontend_data_type_controller.h" |
-class Profile; |
class ProfileSyncService; |
namespace browser_sync { |
@@ -23,9 +22,7 @@ class BookmarkDataTypeController : public FrontendDataTypeController, |
public bookmarks::BaseBookmarkModelObserver, |
public history::HistoryServiceObserver { |
public: |
- BookmarkDataTypeController(ProfileSyncComponentsFactory* profile_sync_factory, |
- Profile* profile, |
- ProfileSyncService* sync_service); |
+ explicit BookmarkDataTypeController(sync_driver::SyncClient* sync_client); |
// FrontendDataTypeController: |
syncer::ModelType type() const override; |
@@ -53,7 +50,6 @@ class BookmarkDataTypeController : public FrontendDataTypeController, |
void HistoryServiceBeingDeleted( |
history::HistoryService* history_service) override; |
- Profile* const profile_; |
ScopedObserver<history::HistoryService, history::HistoryServiceObserver> |
history_service_observer_; |
ScopedObserver<bookmarks::BookmarkModel, BaseBookmarkModelObserver> |