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

Side by Side 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: Changed flag prefix from --do-not... to --disable... Created 6 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/autofill/core/common/autofill_switches.h" 5 #include "components/autofill/core/common/autofill_switches.h"
6 6
7 namespace autofill { 7 namespace autofill {
8 namespace switches { 8 namespace switches {
9 9
10 // Flag used to tell Chrome the base url of the Autofill service. 10 // Flag used to tell Chrome the base url of the Autofill service.
11 const char kAutofillServiceUrl[] = "autofill-service-url"; 11 const char kAutofillServiceUrl[] = "autofill-service-url";
12 12
13 // Forces the password manager to ignore autocomplete='off' for password forms.
Avi (use Gerrit) 2014/01/26 23:57:59 ... manager to NOT ignore autocomplete ...
jww 2014/01/28 07:42:50 Done.
14 const char kDisableIgnoreAutocompleteOff[] = "do-not-ignore-autocomplete-off";
15
13 // Disables an interactive autocomplete UI. See kEnableInteractiveAutocomplete 16 // Disables an interactive autocomplete UI. See kEnableInteractiveAutocomplete
14 // for a description. 17 // for a description.
15 const char kDisableInteractiveAutocomplete[] = 18 const char kDisableInteractiveAutocomplete[] =
16 "disable-interactive-autocomplete"; 19 "disable-interactive-autocomplete";
17 20
18 // Disables password generation when we detect that the user is going through 21 // Disables password generation when we detect that the user is going through
19 // account creation. 22 // account creation.
20 const char kDisablePasswordGeneration[] = "disable-password-generation"; 23 const char kDisablePasswordGeneration[] = "disable-password-generation";
21 24
22 // Forces the password manager to ignore autocomplete='off' for password forms.
23 const char kEnableIgnoreAutocompleteOff[] = "enable-ignore-autocomplete-off";
24
25 // Enables an interactive autocomplete UI and a way to invoke this UI from 25 // Enables an interactive autocomplete UI and a way to invoke this UI from
26 // WebKit by enabling HTMLFormElement#requestAutocomplete (and associated 26 // WebKit by enabling HTMLFormElement#requestAutocomplete (and associated
27 // autocomplete* events and logic). 27 // autocomplete* events and logic).
28 const char kEnableInteractiveAutocomplete[] = "enable-interactive-autocomplete"; 28 const char kEnableInteractiveAutocomplete[] = "enable-interactive-autocomplete";
29 29
30 // Enables password generation when we detect that the user is going through 30 // Enables password generation when we detect that the user is going through
31 // account creation. 31 // account creation.
32 const char kEnablePasswordGeneration[] = "enable-password-generation"; 32 const char kEnablePasswordGeneration[] = "enable-password-generation";
33 33
34 // Removes the requirement that we recieved a ping from the autofill servers. 34 // Removes the requirement that we recieved a ping from the autofill servers.
(...skipping 10 matching lines...) Expand all
45 45
46 // Service URL for Online Wallet service. Used as the base url for Online Wallet 46 // Service URL for Online Wallet service. Used as the base url for Online Wallet
47 // API calls. 47 // API calls.
48 const char kWalletServiceUrl[] = "wallet-service-url"; 48 const char kWalletServiceUrl[] = "wallet-service-url";
49 49
50 // Use the sandbox Online Wallet service URL (for developer testing). 50 // Use the sandbox Online Wallet service URL (for developer testing).
51 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox"; 51 const char kWalletServiceUseSandbox[] = "wallet-service-use-sandbox";
52 52
53 } // namespace switches 53 } // namespace switches
54 } // namespace autofill 54 } // namespace autofill
OLDNEW
« 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