OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/password_manager/core/common/password_manager_switches.h" | 5 #include "components/password_manager/core/common/password_manager_switches.h" |
6 | 6 |
7 namespace password_manager { | 7 namespace password_manager { |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
11 // Force the password manager to allow sync credentials to be autofilled. | 11 // Force the password manager to allow sync credentials to be autofilled. |
12 const char kAllowAutofillSyncCredential[] = "allow-autofill-sync-credential"; | 12 const char kAllowAutofillSyncCredential[] = "allow-autofill-sync-credential"; |
13 | 13 |
14 // Disable affiliation based matching, so that credentials stored for an Android | 14 // Disable affiliation based matching, so that credentials stored for an Android |
15 // application will not be considered matches for, and will not be filled into | 15 // application will not be considered matches for, and will not be filled into |
16 // corresponding Web applications. | 16 // corresponding Web applications. |
17 const char kDisableAffiliationBasedMatching[] = | 17 const char kDisableAffiliationBasedMatching[] = |
18 "disable-affiliation-based-matching"; | 18 "disable-affiliation-based-matching"; |
19 | 19 |
20 // Disable dropping the credential used to sync passwords. | 20 // Disable dropping the credential used to sync passwords. |
21 const char kDisableDropSyncCredential[] = "disable-drop-sync-credential"; | 21 const char kDisableDropSyncCredential[] = "disable-drop-sync-credential"; |
22 | 22 |
23 // Disable both saving and filling for the sync signin form. | 23 // Disable both saving and filling for the sync signin form. |
24 const char kDisableManagerForSyncSignin[] = "disable-manager-for-sync-signin"; | 24 const char kDisableManagerForSyncSignin[] = "disable-manager-for-sync-signin"; |
25 | 25 |
26 // Disable the link in the password manager settings page that points to account | |
27 // central. | |
28 const char kDisablePasswordLink[] = "disable-password-link"; | |
29 | |
30 // Disallow autofilling of the sync credential. | 26 // Disallow autofilling of the sync credential. |
31 const char kDisallowAutofillSyncCredential[] = | 27 const char kDisallowAutofillSyncCredential[] = |
32 "disallow-autofill-sync-credential"; | 28 "disallow-autofill-sync-credential"; |
33 | 29 |
34 // Disallow autofilling of the sync credential only for transactional reauth | 30 // Disallow autofilling of the sync credential only for transactional reauth |
35 // pages. | 31 // pages. |
36 const char kDisallowAutofillSyncCredentialForReauth[] = | 32 const char kDisallowAutofillSyncCredentialForReauth[] = |
37 "disallow-autofill-sync-credential-for-reauth"; | 33 "disallow-autofill-sync-credential-for-reauth"; |
38 | 34 |
39 // Enable affiliation based matching, so that credentials stored for an Android | 35 // Enable affiliation based matching, so that credentials stored for an Android |
(...skipping 15 matching lines...) Expand all Loading... | |
55 const char kEnableManagerForSyncSignin[] = "enable-manager-for-sync-signin"; | 51 const char kEnableManagerForSyncSignin[] = "enable-manager-for-sync-signin"; |
56 | 52 |
57 // Enable supporting of updating password in the password manager on a password | 53 // Enable supporting of updating password in the password manager on a password |
58 // change form submit. | 54 // change form submit. |
59 const char kEnablePasswordChangeSupport[] = "enable-password-change-support"; | 55 const char kEnablePasswordChangeSupport[] = "enable-password-change-support"; |
60 | 56 |
61 // Enable a context menu item in the password field that allows the user | 57 // Enable a context menu item in the password field that allows the user |
62 // to manually enforce saving of their password. | 58 // to manually enforce saving of their password. |
63 const char kEnablePasswordForceSaving[] = "enable-password-force-saving"; | 59 const char kEnablePasswordForceSaving[] = "enable-password-force-saving"; |
64 | 60 |
65 // Enable the link in the password manager settings page that points to account | |
66 // central. | |
67 const char kEnablePasswordLink[] = "enable-password-link"; | |
Eugene But (OOO till 7-30)
2015/10/19 16:40:29
Should this be also removed from the header?
vabr (Chromium)
2015/10/19 17:19:03
Ah! It should, thanks for pointing this out.
I'm n
| |
68 | |
69 } // namespace switches | 61 } // namespace switches |
70 | 62 |
71 } // namespace password_manager | 63 } // namespace password_manager |
OLD | NEW |