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

Unified Diff: chrome/browser/password_manager/mock_password_store.h

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
« no previous file with comments | « no previous file | chrome/browser/password_manager/password_form_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/mock_password_store.h
diff --git a/chrome/browser/password_manager/mock_password_store.h b/chrome/browser/password_manager/mock_password_store.h
index d38db164eb88d497bee746ec72e7da354a133d18..a7629b9dde64bd0936185eb1fa7fdc54f8187e6d 100644
--- a/chrome/browser/password_manager/mock_password_store.h
+++ b/chrome/browser/password_manager/mock_password_store.h
@@ -21,9 +21,11 @@ class MockPasswordStore : public PasswordStore {
content::BrowserContext* profile);
MOCK_METHOD1(RemoveLogin, void(const autofill::PasswordForm&));
- MOCK_METHOD2(GetLogins,
- CancelableTaskTracker::TaskId(const autofill::PasswordForm&,
- PasswordStoreConsumer*));
+ MOCK_METHOD3(GetLogins,
+ CancelableTaskTracker::TaskId(
+ const autofill::PasswordForm&,
+ PasswordStore::AuthorizationPromptPolicy prompt_policy,
+ PasswordStoreConsumer*));
MOCK_METHOD1(AddLogin, void(const autofill::PasswordForm&));
MOCK_METHOD1(UpdateLogin, void(const autofill::PasswordForm&));
MOCK_METHOD0(ReportMetrics, void());
@@ -33,8 +35,9 @@ class MockPasswordStore : public PasswordStore {
MOCK_METHOD1(RemoveLoginImpl, void(const autofill::PasswordForm&));
MOCK_METHOD2(RemoveLoginsCreatedBetweenImpl, void(const base::Time&,
const base::Time&));
- MOCK_METHOD2(GetLoginsImpl,
+ MOCK_METHOD3(GetLoginsImpl,
void(const autofill::PasswordForm& form,
+ PasswordStore::AuthorizationPromptPolicy prompt_policy,
const ConsumerCallbackRunner& callback_runner));
MOCK_METHOD1(GetAutofillableLoginsImpl, void(GetLoginsRequest*));
MOCK_METHOD1(GetBlacklistLoginsImpl, void(GetLoginsRequest*));
« no previous file with comments | « no previous file | chrome/browser/password_manager/password_form_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698