| Index: components/password_manager/core/browser/password_manager_client.cc
|
| diff --git a/components/password_manager/core/browser/password_manager_client.cc b/components/password_manager/core/browser/password_manager_client.cc
|
| index fe5a7de70360868df303a9d6edb1acf2caf0fc87..9b0bba3cc4889a855b7a777cee0bd73a4afe0218 100644
|
| --- a/components/password_manager/core/browser/password_manager_client.cc
|
| +++ b/components/password_manager/core/browser/password_manager_client.cc
|
| @@ -33,4 +33,20 @@ bool PasswordManagerClient::IsLoggingActive() const {
|
| return false;
|
| }
|
|
|
| +PasswordStore::AuthorizationPromptPolicy
|
| +PasswordManagerClient::GetAuthorizationPromptPolicy(
|
| + const autofill::PasswordForm& form) {
|
| + // Password Autofill is supposed to be a convenience. If it creates a
|
| + // blocking dialog, it is no longer convenient. We should only prompt the
|
| + // user after a full username has been typed in. Until that behavior is
|
| + // implemented, never prompt the user for keychain access.
|
| + // Effectively, this means that passwords stored by Chrome still work,
|
| + // since Chrome can access those without a prompt, but passwords stored by
|
| + // Safari, Firefox, or Chrome Canary will not work. Note that the latest
|
| + // build of Safari and Firefox don't create keychain items with the
|
| + // relevant tags anyways (7/11/2014).
|
| + // http://crbug.com/178358
|
| + return PasswordStore::DISALLOW_PROMPT;
|
| +}
|
| +
|
| } // namespace password_manager
|
|
|