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

Unified Diff: chrome/browser/sync/glue/theme_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/theme_data_type_controller.h
diff --git a/chrome/browser/sync/glue/theme_data_type_controller.h b/chrome/browser/sync/glue/theme_data_type_controller.h
index ccbd1a14104ec8973481d881aaacb5756829b9d2..5f35c5f101a5ba7f6e46f6558845ed4cb43afaec 100644
--- a/chrome/browser/sync/glue/theme_data_type_controller.h
+++ b/chrome/browser/sync/glue/theme_data_type_controller.h
@@ -7,12 +7,14 @@
#include "chrome/browser/sync/glue/ui_data_type_controller.h"
+class Profile;
+
namespace browser_sync {
class ThemeDataTypeController : public UIDataTypeController {
public:
ThemeDataTypeController(
- ProfileSyncComponentsFactory* profile_sync_factory,
+ SyncApiComponentFactory* sync_factory,
Profile* profile,
ProfileSyncService* sync_service);
@@ -21,6 +23,8 @@ class ThemeDataTypeController : public UIDataTypeController {
// UIDataTypeController implementations.
virtual bool StartModels() OVERRIDE;
+
+ Profile* const profile_;
DISALLOW_COPY_AND_ASSIGN(ThemeDataTypeController);
};

Powered by Google App Engine
This is Rietveld 408576698