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