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

Unified Diff: chrome/browser/sync/glue/extension_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/extension_data_type_controller.h
diff --git a/chrome/browser/sync/glue/extension_data_type_controller.h b/chrome/browser/sync/glue/extension_data_type_controller.h
index c8ffbf8e9fe28a6070d9afe895ba6dd0800a640b..a013e588442e230a5d854331883f5dbb686eeac4 100644
--- a/chrome/browser/sync/glue/extension_data_type_controller.h
+++ b/chrome/browser/sync/glue/extension_data_type_controller.h
@@ -11,6 +11,8 @@
#include "chrome/browser/sync/glue/ui_data_type_controller.h"
#include "components/sync_driver/generic_change_processor.h"
+class Profile;
+
namespace browser_sync {
// TODO(zea): Rename this and ExtensionSettingsDTC to ExtensionOrApp*, since
@@ -19,7 +21,7 @@ class ExtensionDataTypeController : public UIDataTypeController {
public:
ExtensionDataTypeController(
syncer::ModelType type, // Either EXTENSIONS or APPS.
- ProfileSyncComponentsFactory* profile_sync_factory,
+ SyncApiComponentFactory* sync_factory,
Profile* profile,
ProfileSyncService* sync_service);
@@ -29,6 +31,8 @@ class ExtensionDataTypeController : public UIDataTypeController {
// DataTypeController implementations.
virtual bool StartModels() OVERRIDE;
+ Profile* const profile_;
+
DISALLOW_COPY_AND_ASSIGN(ExtensionDataTypeController);
};

Powered by Google App Engine
This is Rietveld 408576698