| Index: chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc
|
| diff --git a/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc b/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc
|
| index 83afddc27c1f2d259bbe01e9ee9103a8fd73de17..baeccd5b2f7ba4cf42d1469d0f83c6751c8d5baa 100644
|
| --- a/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc
|
| +++ b/chrome/browser/sync/glue/autofill_data_type_controller_unittest.cc
|
| @@ -84,8 +84,11 @@ class AutofillDataTypeControllerMock : public AutofillDataTypeController {
|
| public:
|
| AutofillDataTypeControllerMock(
|
| ProfileSyncComponentsFactory* profile_sync_factory,
|
| - Profile* profile)
|
| - : AutofillDataTypeController(profile_sync_factory, profile),
|
| + Profile* profile,
|
| + ProfileSyncService* sync_service)
|
| + : AutofillDataTypeController(profile_sync_factory,
|
| + profile,
|
| + sync_service),
|
| start_called_(false, false) {}
|
|
|
| MOCK_METHOD0(StartAssociation, void());
|
| @@ -123,7 +126,9 @@ class AutofillDataTypeControllerTest : public testing::Test {
|
| EXPECT_CALL(profile_, GetProfileSyncService()).WillRepeatedly(
|
| Return(&service_));
|
| autofill_dtc_ =
|
| - new AutofillDataTypeControllerMock(&profile_sync_factory_, &profile_);
|
| + new AutofillDataTypeControllerMock(&profile_sync_factory_,
|
| + &profile_,
|
| + &service_);
|
| EXPECT_CALL(profile_, GetWebDataService(_)).
|
| WillRepeatedly(Return(web_data_service_.get()));
|
| }
|
|
|