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

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

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
Index: chrome/browser/password_manager/password_store_x.cc
diff --git a/chrome/browser/password_manager/password_store_x.cc b/chrome/browser/password_manager/password_store_x.cc
index f213863846c4898c17d3bedd8c96a072f82bba5a..e0f724d8daf165aaec4ef6bf40ef8c5294dffb2b 100644
--- a/chrome/browser/password_manager/password_store_x.cc
+++ b/chrome/browser/password_manager/password_store_x.cc
@@ -119,6 +119,7 @@ void PasswordStoreX::SortLoginsByOrigin(NativeBackend::PasswordFormList* list) {
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 @@ void PasswordStoreX::GetLoginsImpl(
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