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

Unified Diff: chrome/browser/password_manager/password_store_x.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_x.cc
===================================================================
--- chrome/browser/password_manager/password_store_x.cc (revision 241838)
+++ chrome/browser/password_manager/password_store_x.cc (working copy)
@@ -119,6 +119,7 @@
void PasswordStoreX::GetLoginsImpl(
const autofill::PasswordForm& form,
+ AuthorizationPromptPolicy prompt_policy,
const ConsumerCallbackRunner& callback_runner) {
CheckMigration();
std::vector<autofill::PasswordForm*> matched_forms;
@@ -132,7 +133,7 @@
allow_fallback_ = false;
} else if (allow_default_store()) {
DCHECK(matched_forms.empty());
- PasswordStoreDefault::GetLoginsImpl(form, callback_runner);
+ PasswordStoreDefault::GetLoginsImpl(form, prompt_policy, callback_runner);
} else {
// The consumer will be left hanging unless we reply.
callback_runner.Run(matched_forms);
« no previous file with comments | « chrome/browser/password_manager/password_store_x.h ('k') | chrome/browser/password_manager/test_password_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698