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

Unified Diff: components/password_manager/core/browser/password_store_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: components/password_manager/core/browser/password_store_unittest.cc
diff --git a/components/password_manager/core/browser/password_store_unittest.cc b/components/password_manager/core/browser/password_store_unittest.cc
index 7607c593c7b69cba422ce1020810a6d09ecc6c2b..694a52ecb74cc5fd7b02749217d8f91e0cd3d94b 100644
--- a/components/password_manager/core/browser/password_store_unittest.cc
+++ b/components/password_manager/core/browser/password_store_unittest.cc
@@ -215,9 +215,9 @@ TEST_F(PasswordStoreTest, IgnoreOldWwwGoogleLogins) {
UnorderedPasswordFormElementsAre(bar_example_expected)))
.RetiresOnSaturation();
- store->GetLogins(www_google, PasswordStore::ALLOW_PROMPT, &consumer);
- store->GetLogins(accounts_google, PasswordStore::ALLOW_PROMPT, &consumer);
- store->GetLogins(bar_example, PasswordStore::ALLOW_PROMPT, &consumer);
+ store->GetLogins(www_google, &consumer);
+ store->GetLogins(accounts_google, &consumer);
+ store->GetLogins(bar_example, &consumer);
base::MessageLoop::current()->RunUntilIdle();
@@ -457,7 +457,7 @@ TEST_F(PasswordStoreTest, GetLoginsWithoutAffiliations) {
EXPECT_CALL(mock_consumer,
OnGetPasswordStoreResultsConstRef(
UnorderedPasswordFormElementsAre(expected_results.get())));
- store->GetLogins(observed_form, PasswordStore::ALLOW_PROMPT, &mock_consumer);
+ store->GetLogins(observed_form, &mock_consumer);
store->ShutdownOnUIThread();
base::MessageLoop::current()->RunUntilIdle();
}
@@ -575,7 +575,7 @@ TEST_F(PasswordStoreTest, GetLoginsWithAffiliations) {
OnGetPasswordStoreResultsConstRef(
UnorderedPasswordFormElementsAre(expected_results.get())));
- store->GetLogins(observed_form, PasswordStore::ALLOW_PROMPT, &mock_consumer);
+ store->GetLogins(observed_form, &mock_consumer);
store->ShutdownOnUIThread();
base::MessageLoop::current()->RunUntilIdle();
}

Powered by Google App Engine
This is Rietveld 408576698