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

Unified Diff: chrome/browser/password_manager/password_store_win_unittest.cc

Issue 106053008: [Mac] Passwords: Don't always prompt to access passwords saved by other browsers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix yet another compile failure. Created 7 years 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/password_manager/password_store_win_unittest.cc
diff --git a/chrome/browser/password_manager/password_store_win_unittest.cc b/chrome/browser/password_manager/password_store_win_unittest.cc
index 22a71a1e25ed39b1332072855bea6cdd65fac277..c8ec9e5d3e2cfe4d2dd451ed92c7f181d23c89c2 100644
--- a/chrome/browser/password_manager/password_store_win_unittest.cc
+++ b/chrome/browser/password_manager/password_store_win_unittest.cc
@@ -236,7 +236,7 @@ TEST_F(PasswordStoreWinTest, DISABLED_ConvertIE7Login) {
OnGetPasswordStoreResults(ContainsAllPasswordForms(forms)))
.WillOnce(QuitUIMessageLoop());
- store_->GetLogins(*form, &consumer);
+ store_->GetLogins(*form, PasswordStore::DISALLOW_PROMPT, &consumer);
base::MessageLoop::current()->Run();
STLDeleteElements(&forms);
@@ -263,7 +263,7 @@ TEST_F(PasswordStoreWinTest, DISABLED_OutstandingWDSQueries) {
scoped_ptr<PasswordForm> form(CreatePasswordFormFromData(form_data));
MockPasswordStoreConsumer consumer;
- store_->GetLogins(*form, &consumer);
+ store_->GetLogins(*form, PasswordStore::DISALLOW_PROMPT, &consumer);
// Release the PSW and the WDS before the query can return.
store_->ShutdownOnUIThread();
@@ -331,7 +331,7 @@ TEST_F(PasswordStoreWinTest, DISABLED_MultipleWDSQueriesOnDifferentThreads) {
OnGetPasswordStoreResults(ContainsAllPasswordForms(forms)))
.WillOnce(QuitUIMessageLoop());
- store_->GetLogins(*form, &password_consumer);
+ store_->GetLogins(*form, PasswordStore::DISALLOW_PROMPT, &password_consumer);
MockWebDataServiceConsumer wds_consumer;
@@ -381,7 +381,7 @@ TEST_F(PasswordStoreWinTest, EmptyLogins) {
OnGetPasswordStoreResults(ContainsAllPasswordForms(expect_none)))
.WillOnce(DoAll(WithArg<0>(STLDeleteElements0()), QuitUIMessageLoop()));
- store_->GetLogins(*form, &consumer);
+ store_->GetLogins(*form, PasswordStore::DISALLOW_PROMPT, &consumer);
base::MessageLoop::current()->Run();
}
« no previous file with comments | « chrome/browser/password_manager/password_store_win.cc ('k') | chrome/browser/password_manager/password_store_x.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698