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 2735 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2746 autofill::kAutofillCreditCardLastUsedDateDisplay, | 2746 autofill::kAutofillCreditCardLastUsedDateDisplay, |
2747 kAutofillCreditCardLastUsedDateFeatureVariations, | 2747 kAutofillCreditCardLastUsedDateFeatureVariations, |
2748 // Must be AutofillCreditCardDropdownVariations to prevent DCHECK crash | 2748 // Must be AutofillCreditCardDropdownVariations to prevent DCHECK crash |
2749 // when the flag is manually enabled in a local build. | 2749 // when the flag is manually enabled in a local build. |
2750 "AutofillCreditCardDropdownVariations")}, | 2750 "AutofillCreditCardDropdownVariations")}, |
2751 {"enable-autofill-credit-card-upload-cvc-prompt", | 2751 {"enable-autofill-credit-card-upload-cvc-prompt", |
2752 flag_descriptions::kEnableAutofillCreditCardUploadCvcPromptName, | 2752 flag_descriptions::kEnableAutofillCreditCardUploadCvcPromptName, |
2753 flag_descriptions::kEnableAutofillCreditCardUploadCvcPromptDescription, | 2753 flag_descriptions::kEnableAutofillCreditCardUploadCvcPromptDescription, |
2754 kOsDesktop, | 2754 kOsDesktop, |
2755 FEATURE_VALUE_TYPE(autofill::kAutofillUpstreamRequestCvcIfMissing)}, | 2755 FEATURE_VALUE_TYPE(autofill::kAutofillUpstreamRequestCvcIfMissing)}, |
| 2756 {"enable-autofill-credit-card-bank-name-display", |
| 2757 flag_descriptions::kEnableAutofillCreditCardBankNameDisplayName, |
| 2758 flag_descriptions::kEnableAutofillCreditCardBankNameDisplayDescription, |
| 2759 kOsAll, FEATURE_VALUE_TYPE(autofill::kAutofillCreditCardBankNameDisplay)}, |
| 2760 |
2756 #if defined(OS_WIN) | 2761 #if defined(OS_WIN) |
2757 {"windows10-custom-titlebar", | 2762 {"windows10-custom-titlebar", |
2758 flag_descriptions::kWindows10CustomTitlebarName, | 2763 flag_descriptions::kWindows10CustomTitlebarName, |
2759 flag_descriptions::kWindows10CustomTitlebarDescription, kOsWin, | 2764 flag_descriptions::kWindows10CustomTitlebarDescription, kOsWin, |
2760 SINGLE_VALUE_TYPE(switches::kWindows10CustomTitlebar)}, | 2765 SINGLE_VALUE_TYPE(switches::kWindows10CustomTitlebar)}, |
2761 #endif // OS_WIN | 2766 #endif // OS_WIN |
2762 | 2767 |
2763 #if defined(OS_ANDROID) | 2768 #if defined(OS_ANDROID) |
2764 {"lsd-permission-prompt", flag_descriptions::kLsdPermissionPromptName, | 2769 {"lsd-permission-prompt", flag_descriptions::kLsdPermissionPromptName, |
2765 flag_descriptions::kLsdPermissionPromptDescription, kOsAndroid, | 2770 flag_descriptions::kLsdPermissionPromptDescription, kOsAndroid, |
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3280 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 3285 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
3281 | 3286 |
3282 const FeatureEntry* GetFeatureEntries(size_t* count) { | 3287 const FeatureEntry* GetFeatureEntries(size_t* count) { |
3283 *count = arraysize(kFeatureEntries); | 3288 *count = arraysize(kFeatureEntries); |
3284 return kFeatureEntries; | 3289 return kFeatureEntries; |
3285 } | 3290 } |
3286 | 3291 |
3287 } // namespace testing | 3292 } // namespace testing |
3288 | 3293 |
3289 } // namespace about_flags | 3294 } // namespace about_flags |
OLD | NEW |