| Index: components/password_manager/core/browser/password_manager.h
|
| diff --git a/components/password_manager/core/browser/password_manager.h b/components/password_manager/core/browser/password_manager.h
|
| index 467f6a886550e9321030a52d58c749ff60a3a927..3e90935f5d942646a3b5838136f3375af3d10128 100644
|
| --- a/components/password_manager/core/browser/password_manager.h
|
| +++ b/components/password_manager/core/browser/password_manager.h
|
| @@ -210,6 +210,13 @@ class PasswordManager : public LoginModel {
|
| // non-blacklisted.
|
| bool CanProvisionalManagerSave();
|
|
|
| + // Returns true if there already exists a provisionally saved password form
|
| + // from the same domain as |form|, but with a different and secure scheme.
|
| + // This prevents users from unintentionally storing credentials, see
|
| + // http://crbug.com/571580 for details.
|
| + bool ShouldBlockPasswordForSameOriginButDifferentScheme(
|
| + const autofill::PasswordForm& form) const;
|
| +
|
| // Returns true if the user needs to be prompted before a password can be
|
| // saved (instead of automatically saving
|
| // the password), based on inspecting the state of
|
|
|