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

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

Issue 9241029: sync: Pass ProfileSyncService to NonFrontendDataTypeController's ctor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 11 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/non_frontend_data_type_controller.cc
diff --git a/chrome/browser/sync/glue/non_frontend_data_type_controller.cc b/chrome/browser/sync/glue/non_frontend_data_type_controller.cc
index 9ac08cfc7146e48e23eb5993f73b94dfb655be88..4f2569253609ca262f5d6967dd60d230ad446b1b 100644
--- a/chrome/browser/sync/glue/non_frontend_data_type_controller.cc
+++ b/chrome/browser/sync/glue/non_frontend_data_type_controller.cc
@@ -31,10 +31,11 @@ NonFrontendDataTypeController::NonFrontendDataTypeController()
NonFrontendDataTypeController::NonFrontendDataTypeController(
ProfileSyncComponentsFactory* profile_sync_factory,
- Profile* profile)
+ Profile* profile,
+ ProfileSyncService* sync_service)
: profile_sync_factory_(profile_sync_factory),
profile_(profile),
- profile_sync_service_(profile->GetProfileSyncService()),
+ profile_sync_service_(sync_service),
state_(NOT_RUNNING),
abort_association_(false),
abort_association_complete_(false, false),

Powered by Google App Engine
This is Rietveld 408576698