Chromium Code Reviews| Index: chrome/browser/password_manager/password_manager.h |
| diff --git a/chrome/browser/password_manager/password_manager.h b/chrome/browser/password_manager/password_manager.h |
| index 8b386d4dbddad9a2be1b81250b9ce9ffaf9c24bc..86dba4ec1b4b7830b91b47d71b8d39e3ef57b501 100644 |
| --- a/chrome/browser/password_manager/password_manager.h |
| +++ b/chrome/browser/password_manager/password_manager.h |
| @@ -37,6 +37,9 @@ class PasswordManager : public LoginModel, |
| PasswordManagerDelegate* delegate); |
| virtual ~PasswordManager(); |
| + // Is password autofill enabled for the current profile? |
| + bool IsEnabled() const; |
|
Ilya Sherman
2012/04/24 00:46:54
nit: Please move this function's definition within
Garrett Casto
2012/04/24 18:49:56
Done.
|
| + |
| // Called by a PasswordFormManager when it decides a form can be autofilled |
| // on the page. |
| void Autofill(const webkit::forms::PasswordForm& form_for_autofill, |
| @@ -82,9 +85,6 @@ class PasswordManager : public LoginModel, |
| // When a form is "seen" on a page, a PasswordFormManager is created |
| // and stored in this collection until user navigates away from page. |
| - // Is password autofill enabled for the current profile? |
| - bool IsEnabled() const; |
| - |
| ScopedVector<PasswordFormManager> pending_login_managers_; |
| // When the user submits a password/credential, this contains the |