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

Unified Diff: content/public/common/password_form.cc

Issue 15660018: [autofill] Add support for PSL domain matching for password autofill. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed test expectation to match intention and comment 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
« no previous file with comments | « content/public/common/password_form.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/password_form.cc
diff --git a/content/public/common/password_form.cc b/content/public/common/password_form.cc
index 7acff86c1667673438bc4334825aa0f3ecafc527..95a2511c82706da7381301e5d200108d26505506 100644
--- a/content/public/common/password_form.cc
+++ b/content/public/common/password_form.cc
@@ -19,4 +19,8 @@ PasswordForm::PasswordForm()
PasswordForm::~PasswordForm() {
}
+bool PasswordForm::IsPublicSuffixMatch() const {
+ return !original_signon_realm.empty();
+}
+
} // namespace content
« no previous file with comments | « content/public/common/password_form.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698