diff options
Diffstat (limited to 'chrome/browser/sync/profile_sync_service_password_unittest.cc')
-rw-r--r-- | chrome/browser/sync/profile_sync_service_password_unittest.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/browser/sync/profile_sync_service_password_unittest.cc b/chrome/browser/sync/profile_sync_service_password_unittest.cc index 9b5420e..2e106c1 100644 --- a/chrome/browser/sync/profile_sync_service_password_unittest.cc +++ b/chrome/browser/sync/profile_sync_service_password_unittest.cc @@ -189,11 +189,10 @@ class ProfileSyncServicePasswordTest : public AbstractProfileSyncServiceTest { &factory_, &profile_, "test_user", false, root_task, node_task)); service_->RegisterPreferences(); profile_.GetPrefs()->SetBoolean(prefs::kSyncPasswords, true); - EXPECT_CALL(profile_, GetProfileSyncService()).WillRepeatedly( - Return(service_.get())); PasswordDataTypeController* data_type_controller = new PasswordDataTypeController(&factory_, - &profile_); + &profile_, + service_.get()); EXPECT_CALL(factory_, CreatePasswordSyncComponents(_, _, _)). Times(AtLeast(1)). // Can be more if we hit NEEDS_CRYPTO. |