summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/profile_sync_service_password_unittest.cc
diff options
context:
space:
mode:
authorzea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-19 19:26:44 +0000
committerzea@chromium.org <zea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-19 19:26:44 +0000
commit997aaec37d6e6197688b5a6d1541b7ace4c9f38b (patch)
treec4940eff9f4b8115b288b4971f6b468bc4d3ba6c /chrome/browser/sync/profile_sync_service_password_unittest.cc
parent88678cc8a0fb86aeaa72cf8a0d96b2caab066f55 (diff)
downloadchromium_src-997aaec37d6e6197688b5a6d1541b7ace4c9f38b.zip
chromium_src-997aaec37d6e6197688b5a6d1541b7ace4c9f38b.tar.gz
chromium_src-997aaec37d6e6197688b5a6d1541b7ace4c9f38b.tar.bz2
Revert 82120 - Reland r81454 (sync non-frontend datatype controllers) with longer timeouts.Original codereview: http://codereview.chromium.org/6811003BUG=77964TEST=unitCommitted: http://src.chromium.org/viewvc/chrome?view=rev&revision=82028Review URL: http://codereview.chromium.org/6869016
TBR=zea@chromium.org Review URL: http://codereview.chromium.org/6873084 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@82141 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/profile_sync_service_password_unittest.cc')
-rw-r--r--chrome/browser/sync/profile_sync_service_password_unittest.cc5
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.