OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 "chrome/browser/about_flags.h" | 5 #include "chrome/browser/about_flags.h" |
6 | 6 |
7 #include <iterator> | 7 #include <iterator> |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <utility> | 10 #include <utility> |
(...skipping 1527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1538 {"enable-username-correction", | 1538 {"enable-username-correction", |
1539 flag_descriptions::kEnableUsernameCorrectionName, | 1539 flag_descriptions::kEnableUsernameCorrectionName, |
1540 flag_descriptions::kEnableUsernameCorrectionDescription, | 1540 flag_descriptions::kEnableUsernameCorrectionDescription, |
1541 kOsWin | kOsLinux | kOsCrOS, | 1541 kOsWin | kOsLinux | kOsCrOS, |
1542 FEATURE_VALUE_TYPE(password_manager::features::kEnableUsernameCorrection)}, | 1542 FEATURE_VALUE_TYPE(password_manager::features::kEnableUsernameCorrection)}, |
1543 {"enable-password-force-saving", | 1543 {"enable-password-force-saving", |
1544 flag_descriptions::kPasswordForceSavingName, | 1544 flag_descriptions::kPasswordForceSavingName, |
1545 flag_descriptions::kPasswordForceSavingDescription, kOsAll, | 1545 flag_descriptions::kPasswordForceSavingDescription, kOsAll, |
1546 FEATURE_VALUE_TYPE( | 1546 FEATURE_VALUE_TYPE( |
1547 password_manager::features::kEnablePasswordForceSaving)}, | 1547 password_manager::features::kEnablePasswordForceSaving)}, |
| 1548 {"enable-manual-fallback-for-password-saving", |
| 1549 flag_descriptions::kManualFallbackForPasswordSavingName, |
| 1550 flag_descriptions::kManualFallbackForPasswordSavingDescription, kOsDesktop, |
| 1551 FEATURE_VALUE_TYPE( |
| 1552 password_manager::features::kEnableManualFallbackForSaving)}, |
1548 {"enable-manual-password-generation", | 1553 {"enable-manual-password-generation", |
1549 flag_descriptions::kManualPasswordGenerationName, | 1554 flag_descriptions::kManualPasswordGenerationName, |
1550 flag_descriptions::kManualPasswordGenerationDescription, kOsAll, | 1555 flag_descriptions::kManualPasswordGenerationDescription, kOsAll, |
1551 FEATURE_VALUE_TYPE( | 1556 FEATURE_VALUE_TYPE( |
1552 password_manager::features::kEnableManualPasswordGeneration)}, | 1557 password_manager::features::kEnableManualPasswordGeneration)}, |
1553 {"enable-show-autofill-signatures", | 1558 {"enable-show-autofill-signatures", |
1554 flag_descriptions::kShowAutofillSignaturesName, | 1559 flag_descriptions::kShowAutofillSignaturesName, |
1555 flag_descriptions::kShowAutofillSignaturesDescription, kOsAll, | 1560 flag_descriptions::kShowAutofillSignaturesDescription, kOsAll, |
1556 SINGLE_VALUE_TYPE(autofill::switches::kShowAutofillSignatures)}, | 1561 SINGLE_VALUE_TYPE(autofill::switches::kShowAutofillSignatures)}, |
1557 {"affiliation-based-matching", | 1562 {"affiliation-based-matching", |
(...skipping 1886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3444 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 3449 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
3445 | 3450 |
3446 const FeatureEntry* GetFeatureEntries(size_t* count) { | 3451 const FeatureEntry* GetFeatureEntries(size_t* count) { |
3447 *count = arraysize(kFeatureEntries); | 3452 *count = arraysize(kFeatureEntries); |
3448 return kFeatureEntries; | 3453 return kFeatureEntries; |
3449 } | 3454 } |
3450 | 3455 |
3451 } // namespace testing | 3456 } // namespace testing |
3452 | 3457 |
3453 } // namespace about_flags | 3458 } // namespace about_flags |
OLD | NEW |