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 2731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2742 autofill::kAutofillCreditCardLastUsedDateDisplay, | 2742 autofill::kAutofillCreditCardLastUsedDateDisplay, |
2743 kAutofillCreditCardLastUsedDateFeatureVariations, | 2743 kAutofillCreditCardLastUsedDateFeatureVariations, |
2744 // Must be AutofillCreditCardDropdownVariations to prevent DCHECK crash | 2744 // Must be AutofillCreditCardDropdownVariations to prevent DCHECK crash |
2745 // when the flag is manually enabled in a local build. | 2745 // when the flag is manually enabled in a local build. |
2746 "AutofillCreditCardDropdownVariations")}, | 2746 "AutofillCreditCardDropdownVariations")}, |
2747 {"enable-autofill-credit-card-upload-cvc-prompt", | 2747 {"enable-autofill-credit-card-upload-cvc-prompt", |
2748 flag_descriptions::kEnableAutofillCreditCardUploadCvcPromptName, | 2748 flag_descriptions::kEnableAutofillCreditCardUploadCvcPromptName, |
2749 flag_descriptions::kEnableAutofillCreditCardUploadCvcPromptDescription, | 2749 flag_descriptions::kEnableAutofillCreditCardUploadCvcPromptDescription, |
2750 kOsDesktop, | 2750 kOsDesktop, |
2751 FEATURE_VALUE_TYPE(autofill::kAutofillUpstreamRequestCvcIfMissing)}, | 2751 FEATURE_VALUE_TYPE(autofill::kAutofillUpstreamRequestCvcIfMissing)}, |
| 2752 {"enable-autofill-credit-card-bank-name-display", |
| 2753 flag_descriptions::kEnableAutofillCreditCardBankNameDisplayName, |
| 2754 flag_descriptions::kEnableAutofillCreditCardBankNameDisplayDescription, |
| 2755 kOsAll, FEATURE_VALUE_TYPE(autofill::kAutofillCreditCardBankNameDisplay)}, |
| 2756 |
2752 #if defined(OS_WIN) | 2757 #if defined(OS_WIN) |
2753 {"windows10-custom-titlebar", | 2758 {"windows10-custom-titlebar", |
2754 flag_descriptions::kWindows10CustomTitlebarName, | 2759 flag_descriptions::kWindows10CustomTitlebarName, |
2755 flag_descriptions::kWindows10CustomTitlebarDescription, kOsWin, | 2760 flag_descriptions::kWindows10CustomTitlebarDescription, kOsWin, |
2756 SINGLE_VALUE_TYPE(switches::kWindows10CustomTitlebar)}, | 2761 SINGLE_VALUE_TYPE(switches::kWindows10CustomTitlebar)}, |
2757 #endif // OS_WIN | 2762 #endif // OS_WIN |
2758 | 2763 |
2759 #if defined(OS_ANDROID) | 2764 #if defined(OS_ANDROID) |
2760 {"lsd-permission-prompt", flag_descriptions::kLsdPermissionPromptName, | 2765 {"lsd-permission-prompt", flag_descriptions::kLsdPermissionPromptName, |
2761 flag_descriptions::kLsdPermissionPromptDescription, kOsAndroid, | 2766 flag_descriptions::kLsdPermissionPromptDescription, kOsAndroid, |
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3312 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 3317 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
3313 | 3318 |
3314 const FeatureEntry* GetFeatureEntries(size_t* count) { | 3319 const FeatureEntry* GetFeatureEntries(size_t* count) { |
3315 *count = arraysize(kFeatureEntries); | 3320 *count = arraysize(kFeatureEntries); |
3316 return kFeatureEntries; | 3321 return kFeatureEntries; |
3317 } | 3322 } |
3318 | 3323 |
3319 } // namespace testing | 3324 } // namespace testing |
3320 | 3325 |
3321 } // namespace about_flags | 3326 } // namespace about_flags |
OLD | NEW |