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

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

Issue 1730313004: Remove PasswordStore::AuthorizationPromptPolicy (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months 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_proxy_mac_unittest.cc
diff --git a/chrome/browser/password_manager/password_store_proxy_mac_unittest.cc b/chrome/browser/password_manager/password_store_proxy_mac_unittest.cc
index 2ea0d468e7361c2d72713e4691269062d59cdb69..46ea85f977d883dd860d422bea7fc8d7e8820087 100644
--- a/chrome/browser/password_manager/password_store_proxy_mac_unittest.cc
+++ b/chrome/browser/password_manager/password_store_proxy_mac_unittest.cc
@@ -175,8 +175,7 @@ void PasswordStoreProxyMacTest::FinishAsyncProcessing() {
// Do a store-level query to wait for all the previously enqueued operations
// to finish.
MockPasswordStoreConsumer consumer;
- store_->GetLogins(PasswordForm(),
- password_manager::PasswordStore::ALLOW_PROMPT, &consumer);
+ store_->GetLogins(PasswordForm(), &consumer);
EXPECT_CALL(consumer, OnGetPasswordStoreResultsConstRef(_))
.WillOnce(QuitUIMessageLoop());
base::MessageLoop::current()->Run();
@@ -311,8 +310,7 @@ TEST_P(PasswordStoreProxyMacTest, FillLogins) {
AddForm(blacklisted_form);
MockPasswordStoreConsumer mock_consumer;
- store()->GetLogins(password_form, PasswordStoreProxyMac::ALLOW_PROMPT,
- &mock_consumer);
+ store()->GetLogins(password_form, &mock_consumer);
EXPECT_CALL(mock_consumer, OnGetPasswordStoreResultsConstRef(
ElementsAre(Pointee(password_form))))
.WillOnce(QuitUIMessageLoop());
@@ -363,8 +361,7 @@ TEST_P(PasswordStoreProxyMacTest, OperationsOnABadDatabaseSilentlyFail) {
// Get all logins; autofillable logins; blacklisted logins.
MockPasswordStoreConsumer mock_consumer;
- store()->GetLogins(*form, password_manager::PasswordStore::DISALLOW_PROMPT,
- &mock_consumer);
+ store()->GetLogins(*form, &mock_consumer);
ON_CALL(mock_consumer, OnGetPasswordStoreResultsConstRef(_))
.WillByDefault(QuitUIMessageLoop());
EXPECT_CALL(mock_consumer, OnGetPasswordStoreResultsConstRef(IsEmpty()));
@@ -457,7 +454,7 @@ void PasswordStoreProxyMacMigrationTest::TestMigration(bool lock_keychain) {
store_->password_store_mac()->keychain())->set_locked(false);
}
MockPasswordStoreConsumer mock_consumer;
- store()->GetLogins(form, PasswordStoreProxyMac::ALLOW_PROMPT, &mock_consumer);
+ store()->GetLogins(form, &mock_consumer);
EXPECT_CALL(mock_consumer,
OnGetPasswordStoreResultsConstRef(ElementsAre(Pointee(form))))
.WillOnce(QuitUIMessageLoop());
« no previous file with comments | « chrome/browser/password_manager/password_store_proxy_mac.cc ('k') | chrome/browser/password_manager/password_store_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698