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

Unified Diff: chrome/browser/sync/glue/bookmark_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/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>

Powered by Google App Engine
This is Rietveld 408576698