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

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

Issue 15660018: [autofill] Add support for PSL domain matching for password autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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_form_manager.h
diff --git a/chrome/browser/password_manager/password_form_manager.h b/chrome/browser/password_manager/password_form_manager.h
index cd5cf3ede3f56b02f59cd48dc27c1eacf0064332..877729908a3cae9cd0c2c6adcad5cd15fed6e344 100644
--- a/chrome/browser/password_manager/password_form_manager.h
+++ b/chrome/browser/password_manager/password_form_manager.h
@@ -79,6 +79,11 @@ class PasswordFormManager : public PasswordStoreConsumer {
// managed by this.
bool IsNewLogin();
+ // Returns true if the current pending credentials were found using
+ // origin matching of the public suffix, instead of the signon realm of the
+ // form.
+ bool IsPendingCredentialsPublicSuffixMatch();
Ilya Sherman 2013/06/19 09:40:54 Optional nit: IMO this name would be clearer as "P
nyquist 2013/06/19 22:56:06 Staying with Is* pattern for now to follow the res
+
// Checks if the form is a valid password form. Forms which lack either
// login or password field are not considered valid.
bool HasValidPasswordForm();

Powered by Google App Engine
This is Rietveld 408576698