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

Unified Diff: chrome/common/chrome_switches.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: Updated regexp, sanitized result, escaped form domain and added comments. 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/common/chrome_switches.cc
diff --git a/chrome/common/chrome_switches.cc b/chrome/common/chrome_switches.cc
index c38e88a0336ae1a80316fe6a97b7fb87c06d8b8a..f63c1a6b09f1dcac3a321a6be0c277ba3f0ff1e6 100644
--- a/chrome/common/chrome_switches.cc
+++ b/chrome/common/chrome_switches.cc
@@ -494,6 +494,10 @@ const char kEnableAsyncDns[] = "enable-async-dns";
// HttpAuthHandlerNegotiate::CreateSPN for more background.
const char kEnableAuthNegotiatePort[] = "enable-auth-negotiate-port";
+// Enable using a PSL-based domain matching for autofill of passwords.
+const char kEnablePasswordAutofillPSLDomainMatching[] =
+ "enable-password-autofill-psl-domain-matching";
+
// Enables the pre- and auto-login features. When a user signs in to sync, the
// browser's cookie jar is pre-filled with GAIA cookies. When the user visits a
// GAIA login page, an info bar can help the user login.

Powered by Google App Engine
This is Rietveld 408576698