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

Unified Diff: components/autofill/core/common/autofill_switches.cc

Issue 146023002: Password manager now ignores autocomplete='off' by default; user may specify a flag that says other… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix memory leak in unit test Created 6 years, 10 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: components/autofill/core/common/autofill_switches.cc
diff --git a/components/autofill/core/common/autofill_switches.cc b/components/autofill/core/common/autofill_switches.cc
index c7cd3acdd83dc2aed4c25af5ff116263b60d7d68..5bf2c139b00ab86c7e739bd894a133d79919ad67 100644
--- a/components/autofill/core/common/autofill_switches.cc
+++ b/components/autofill/core/common/autofill_switches.cc
@@ -10,6 +10,10 @@ namespace switches {
// Flag used to tell Chrome the base url of the Autofill service.
const char kAutofillServiceUrl[] = "autofill-service-url";
+// Forces the password manager to not ignore autocomplete='off' for password
+// forms.
+const char kDisableIgnoreAutocompleteOff[] = "do-not-ignore-autocomplete-off";
+
// Disables an interactive autocomplete UI. See kEnableInteractiveAutocomplete
// for a description.
const char kDisableInteractiveAutocomplete[] =
@@ -19,9 +23,6 @@ const char kDisableInteractiveAutocomplete[] =
// account creation.
const char kDisablePasswordGeneration[] = "disable-password-generation";
-// Forces the password manager to ignore autocomplete='off' for password forms.
-const char kEnableIgnoreAutocompleteOff[] = "enable-ignore-autocomplete-off";
-
// Enables an interactive autocomplete UI and a way to invoke this UI from
// WebKit by enabling HTMLFormElement#requestAutocomplete (and associated
// autocomplete* events and logic).
« no previous file with comments | « components/autofill/core/common/autofill_switches.h ('k') | components/autofill/core/common/password_autofill_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698