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

Unified Diff: chrome/browser/sync/glue/new_non_frontend_data_type_controller_unittest.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/new_non_frontend_data_type_controller_unittest.cc
diff --git a/chrome/browser/sync/glue/new_non_frontend_data_type_controller_unittest.cc b/chrome/browser/sync/glue/new_non_frontend_data_type_controller_unittest.cc
index 3abfa5c8df6474effad72bfc03afee3c531a7464..e79e4bd808ad39fa0280bcdbdcd194751ca4b8c8 100644
--- a/chrome/browser/sync/glue/new_non_frontend_data_type_controller_unittest.cc
+++ b/chrome/browser/sync/glue/new_non_frontend_data_type_controller_unittest.cc
@@ -69,9 +69,11 @@ class NewNonFrontendDataTypeControllerFake
NewNonFrontendDataTypeControllerFake(
ProfileSyncComponentsFactory* profile_sync_factory,
Profile* profile,
+ ProfileSyncService* sync_service,
NewNonFrontendDataTypeControllerMock* mock)
: NewNonFrontendDataTypeController(profile_sync_factory,
- profile),
+ profile,
+ sync_service),
mock_(mock) {}
virtual syncable::ModelType type() const OVERRIDE {
@@ -143,6 +145,7 @@ class NewNonFrontendDataTypeControllerTest : public testing::Test {
new_non_frontend_dtc_ =
new NewNonFrontendDataTypeControllerFake(profile_sync_factory_.get(),
&profile_,
+ &service_,
dtc_mock_.get());
}

Powered by Google App Engine
This is Rietveld 408576698