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

Unified Diff: chrome/browser/sync/glue/theme_data_type_controller.cc

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.cc
diff --git a/chrome/browser/sync/glue/theme_data_type_controller.cc b/chrome/browser/sync/glue/theme_data_type_controller.cc
index 17aadae9d4b83da8d4dfc7683bf55b0ec2dffeb6..653a91cf79e92012fb5b4eb7cf0b0984a30f20c4 100644
--- a/chrome/browser/sync/glue/theme_data_type_controller.cc
+++ b/chrome/browser/sync/glue/theme_data_type_controller.cc
@@ -14,16 +14,16 @@ using content::BrowserThread;
namespace browser_sync {
ThemeDataTypeController::ThemeDataTypeController(
- ProfileSyncComponentsFactory* profile_sync_factory,
+ SyncApiComponentFactory* sync_factory,
Profile* profile,
ProfileSyncService* sync_service)
: UIDataTypeController(
BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI),
base::Bind(&ChromeReportUnrecoverableError),
syncer::THEMES,
- profile_sync_factory,
- profile,
- sync_service) {
+ sync_factory,
+ sync_service),
+ profile_(profile) {
}
ThemeDataTypeController::~ThemeDataTypeController() {}
« no previous file with comments | « chrome/browser/sync/glue/theme_data_type_controller.h ('k') | chrome/browser/sync/glue/ui_data_type_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698