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

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

Issue 183923021: Adds TODO comment on the timing of removing the disable-ignore-autocomplete-off (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/autofill/core/common/password_autofill_util.cc
diff --git a/components/autofill/core/common/password_autofill_util.cc b/components/autofill/core/common/password_autofill_util.cc
index 7f128f694fa32547c44e685080691961f0015d75..6e71fec5c30fd31fcd235d8911aba494a1c1e987 100644
--- a/components/autofill/core/common/password_autofill_util.cc
+++ b/components/autofill/core/common/password_autofill_util.cc
@@ -29,6 +29,8 @@ bool InDisableIgnoreAutocompleteOffGroup() {
// flag instructing otherwise or is in the field trial group specifying that
// ignore autocomplete='off' should be disabled.
bool ShouldIgnoreAutocompleteOffForPasswordFields() {
+ // TODO(jww): The field trial is scheduled to end 2014/9/1. At latest, we
+ // should remove the field trial and switch by then.
return !InDisableIgnoreAutocompleteOffGroup() &&
!CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableIgnoreAutocompleteOff);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698