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. | |
24 const char kDisableManagerForSyncSignin[] = "disable-manager-for-sync-signin"; | |
25 | |
26 // Disallow autofilling of the sync credential. | 23 // Disallow autofilling of the sync credential. |
27 const char kDisallowAutofillSyncCredential[] = | 24 const char kDisallowAutofillSyncCredential[] = |
28 "disallow-autofill-sync-credential"; | 25 "disallow-autofill-sync-credential"; |
29 | 26 |
30 // Disallow autofilling of the sync credential only for transactional reauth | 27 // Disallow autofilling of the sync credential only for transactional reauth |
31 // pages. | 28 // pages. |
32 const char kDisallowAutofillSyncCredentialForReauth[] = | 29 const char kDisallowAutofillSyncCredentialForReauth[] = |
33 "disallow-autofill-sync-credential-for-reauth"; | 30 "disallow-autofill-sync-credential-for-reauth"; |
34 | 31 |
35 // Enable affiliation based matching, so that credentials stored for an Android | 32 // Enable affiliation based matching, so that credentials stored for an Android |
36 // application will also be considered matches for, and be filled into | 33 // application will also be considered matches for, and be filled into |
37 // corresponding Web applications. | 34 // corresponding Web applications. |
38 const char kEnableAffiliationBasedMatching[] = | 35 const char kEnableAffiliationBasedMatching[] = |
39 "enable-affiliation-based-matching"; | 36 "enable-affiliation-based-matching"; |
40 | 37 |
41 // Enable dropping the credential used to sync passwords. | 38 // Enable dropping the credential used to sync passwords. |
42 const char kEnableDropSyncCredential[] = "enable-drop-sync-credential"; | 39 const char kEnableDropSyncCredential[] = "enable-drop-sync-credential"; |
43 | 40 |
44 // Enable saving and filling for the sync signin form. Currently the default | |
45 // behavior. | |
46 const char kEnableManagerForSyncSignin[] = "enable-manager-for-sync-signin"; | |
47 | |
48 } // namespace switches | 41 } // namespace switches |
49 | 42 |
50 } // namespace password_manager | 43 } // namespace password_manager |
OLD | NEW |