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