OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_features.h" | 5 #include "components/password_manager/core/common/password_manager_features.h" |
6 | 6 |
7 namespace password_manager { | 7 namespace password_manager { |
8 | 8 |
9 namespace features { | 9 namespace features { |
10 | 10 |
11 // Disables the save-password prompt. Passwords are then saved automatically, | 11 // Disables the save-password prompt. Passwords are then saved automatically, |
12 // without asking the user. | 12 // without asking the user. |
13 const base::Feature kEnableAutomaticPasswordSaving = { | 13 const base::Feature kEnableAutomaticPasswordSaving = { |
14 "enable-automatic-password-saving", base::FEATURE_DISABLED_BY_DEFAULT}; | 14 "enable-automatic-password-saving", base::FEATURE_DISABLED_BY_DEFAULT}; |
15 | 15 |
16 // Enable supporting of updating password in the password manager on a password | 16 // Enable supporting of updating password in the password manager on a password |
17 // change form submit. | 17 // change form submit. |
18 const base::Feature kEnablePasswordChangeSupport = { | 18 const base::Feature kEnablePasswordChangeSupport = { |
19 "enable-password-change-support", base::FEATURE_DISABLED_BY_DEFAULT}; | 19 "enable-password-change-support", base::FEATURE_DISABLED_BY_DEFAULT}; |
20 | 20 |
21 // Enable a context menu item in the password field that allows the user | 21 // Enable a context menu item in the password field that allows the user |
22 // to manually enforce saving of their password. | 22 // to manually enforce saving of their password. |
23 const base::Feature kEnablePasswordForceSaving = { | 23 const base::Feature kEnablePasswordForceSaving = { |
24 "enable-password-force-saving", base::FEATURE_DISABLED_BY_DEFAULT}; | 24 "enable-password-force-saving", base::FEATURE_DISABLED_BY_DEFAULT}; |
25 | 25 |
26 // Enable the user to trigger password generation manually. | 26 // Enable the user to trigger password generation manually. |
27 extern const base::Feature kEnableManualPasswordGeneration = { | 27 extern const base::Feature kEnableManualPasswordGeneration = { |
28 "enable-manual-password-generation", base::FEATURE_DISABLED_BY_DEFAULT}; | 28 "enable-manual-password-generation", base::FEATURE_DISABLED_BY_DEFAULT}; |
29 | 29 |
30 const base::Feature kEnablePasswordImportExport = { | |
31 "enable-password-import-export", base::FEATURE_DISABLED_BY_DEFAULT}; | |
vabr (Chromium)
2016/03/10 10:53:33
While the "enable" prefix matches the rest of the
xunlu
2016/03/16 07:23:59
Done.
| |
32 | |
30 } // namespace features | 33 } // namespace features |
31 | 34 |
32 } // namespace password_manager | 35 } // namespace password_manager |
OLD | NEW |