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

Unified Diff: chrome/browser/sync/glue/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/non_frontend_data_type_controller_unittest.cc
diff --git a/chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc b/chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc
index f5438a8a29abe052f9fee0889e7cbfdbc1f5a43a..37baca7a30ca5828ad18cdd600d7f25f40544bed 100644
--- a/chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc
+++ b/chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc
@@ -52,9 +52,11 @@ class NonFrontendDataTypeControllerFake : public NonFrontendDataTypeController {
NonFrontendDataTypeControllerFake(
ProfileSyncComponentsFactory* profile_sync_factory,
Profile* profile,
+ ProfileSyncService* sync_service,
NonFrontendDataTypeControllerMock* mock)
: NonFrontendDataTypeController(profile_sync_factory,
- profile),
+ profile,
+ sync_service),
mock_(mock) {}
virtual syncable::ModelType type() const { return syncable::BOOKMARKS; }
@@ -123,8 +125,9 @@ class NonFrontendDataTypeControllerTest : public testing::Test {
dtc_mock_ = new StrictMock<NonFrontendDataTypeControllerMock>();
non_frontend_dtc_ =
new NonFrontendDataTypeControllerFake(profile_sync_factory_.get(),
- &profile_,
- dtc_mock_.get());
+ &profile_,
+ &service_,
+ dtc_mock_.get());
}
virtual void TearDown() {

Powered by Google App Engine
This is Rietveld 408576698