| Index: chrome/browser/password_manager/password_store_mac.cc
|
| ===================================================================
|
| --- chrome/browser/password_manager/password_store_mac.cc (revision 241838)
|
| +++ chrome/browser/password_manager/password_store_mac.cc (working copy)
|
| @@ -20,6 +20,7 @@
|
| #include "base/strings/string_util.h"
|
| #include "base/strings/utf_string_conversions.h"
|
| #include "chrome/browser/chrome_notification_types.h"
|
| +#include "chrome/browser/mac/security_wrappers.h"
|
| #include "chrome/browser/password_manager/login_database.h"
|
| #include "chrome/browser/password_manager/password_store_change.h"
|
| #include "content/public/browser/notification_service.h"
|
| @@ -979,7 +980,11 @@
|
|
|
| void PasswordStoreMac::GetLoginsImpl(
|
| const autofill::PasswordForm& form,
|
| + AuthorizationPromptPolicy prompt_policy,
|
| const ConsumerCallbackRunner& callback_runner) {
|
| + chrome::ScopedSecKeychainSetUserInteractionAllowed user_interaction_allowed(
|
| + prompt_policy == ALLOW_PROMPT);
|
| +
|
| MacKeychainPasswordFormAdapter keychain_adapter(keychain_.get());
|
| std::vector<PasswordForm*> keychain_forms =
|
| keychain_adapter.PasswordsFillingForm(form);
|
|
|