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

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

Issue 99303009: Merge 241255 "[Mac] Passwords: Don't always prompt to access pas..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1750/src/
Patch Set: 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
===================================================================
--- chrome/browser/password_manager/password_store_win_unittest.cc (revision 241838)
+++ chrome/browser/password_manager/password_store_win_unittest.cc (working copy)
@@ -236,7 +236,7 @@
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 @@
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 @@
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 @@
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