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

Unified Diff: components/password_manager/core/browser/mock_password_store.h

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/mock_password_store.h
diff --git a/components/password_manager/core/browser/mock_password_store.h b/components/password_manager/core/browser/mock_password_store.h
index 3bba21ad74a8a5e40925f8be3ffcc8806709bf50..05a5925fc4413b8fc243d90977e67fa4c1d1453a 100644
--- a/components/password_manager/core/browser/mock_password_store.h
+++ b/components/password_manager/core/browser/mock_password_store.h
@@ -21,10 +21,8 @@ class MockPasswordStore : public PasswordStore {
MockPasswordStore();
MOCK_METHOD1(RemoveLogin, void(const autofill::PasswordForm&));
- MOCK_METHOD3(GetLogins,
- void(const autofill::PasswordForm&,
- PasswordStore::AuthorizationPromptPolicy prompt_policy,
- PasswordStoreConsumer*));
+ MOCK_METHOD2(GetLogins,
+ void(const autofill::PasswordForm&, PasswordStoreConsumer*));
MOCK_METHOD1(AddLogin, void(const autofill::PasswordForm&));
MOCK_METHOD1(UpdateLogin, void(const autofill::PasswordForm&));
MOCK_METHOD2(UpdateLoginWithPrimaryKey,
@@ -49,8 +47,7 @@ class MockPasswordStore : public PasswordStore {
MOCK_METHOD2(RemoveStatisticsCreatedBetweenImpl,
bool(base::Time, base::Time));
ScopedVector<autofill::PasswordForm> FillMatchingLogins(
- const autofill::PasswordForm& form,
- PasswordStore::AuthorizationPromptPolicy prompt_policy) override {
+ const autofill::PasswordForm& form) override {
return ScopedVector<autofill::PasswordForm>();
}
MOCK_METHOD1(FillAutofillableLogins,

Powered by Google App Engine
This is Rietveld 408576698