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

Unified Diff: chrome/browser/sync/glue/search_engine_data_type_controller.h

Issue 317453002: sync: cut a few profile deps from DataTypeControllers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move OnUserShareReady Created 6 years, 6 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/search_engine_data_type_controller.h
diff --git a/chrome/browser/sync/glue/search_engine_data_type_controller.h b/chrome/browser/sync/glue/search_engine_data_type_controller.h
index 55da5551bb80c2753c8b2b9cb976d8aca803b14e..ce59f60f2bab7f2d4655e4d934e852406c8326fd 100644
--- a/chrome/browser/sync/glue/search_engine_data_type_controller.h
+++ b/chrome/browser/sync/glue/search_engine_data_type_controller.h
@@ -15,12 +15,14 @@
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
+class Profile;
+
namespace browser_sync {
class SearchEngineDataTypeController : public UIDataTypeController {
public:
SearchEngineDataTypeController(
- ProfileSyncComponentsFactory* profile_sync_factory,
+ SyncApiComponentFactory* profile_sync_factory,
Profile* profile,
ProfileSyncService* sync_service);
@@ -33,6 +35,7 @@ class SearchEngineDataTypeController : public UIDataTypeController {
void OnTemplateURLServiceLoaded();
scoped_ptr<TemplateURLService::Subscription> template_url_subscription_;
+ Profile* const profile_;
DISALLOW_COPY_AND_ASSIGN(SearchEngineDataTypeController);
};

Powered by Google App Engine
This is Rietveld 408576698