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

Unified Diff: chrome/browser/password_manager/password_manager.h

Issue 10168017: Only enable password generation if password manager and autofill are both (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_asan Created 8 years, 8 months 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_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

Powered by Google App Engine
This is Rietveld 408576698