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 2428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2439 FEATURE_VALUE_TYPE(features::kNativeAndroidHistoryManager)}, | 2439 FEATURE_VALUE_TYPE(features::kNativeAndroidHistoryManager)}, |
2440 #endif // OS_ANDROID | 2440 #endif // OS_ANDROID |
2441 {"enable-autofill-credit-card-last-used-date-display", | 2441 {"enable-autofill-credit-card-last-used-date-display", |
2442 flag_descriptions::kEnableAutofillCreditCardLastUsedDateDisplay, | 2442 flag_descriptions::kEnableAutofillCreditCardLastUsedDateDisplay, |
2443 flag_descriptions::kEnableAutofillCreditCardLastUsedDateDisplayDescription, | 2443 flag_descriptions::kEnableAutofillCreditCardLastUsedDateDisplayDescription, |
2444 kOsAll, | 2444 kOsAll, |
2445 FEATURE_WITH_PARAMS_VALUE_TYPE( | 2445 FEATURE_WITH_PARAMS_VALUE_TYPE( |
2446 autofill::kAutofillCreditCardLastUsedDateDisplay, | 2446 autofill::kAutofillCreditCardLastUsedDateDisplay, |
2447 kAutofillCreditCardLastUsedDateFeatureVariations, | 2447 kAutofillCreditCardLastUsedDateFeatureVariations, |
2448 "AutofillCreditCardLastUsedDate")}, | 2448 "AutofillCreditCardLastUsedDate")}, |
| 2449 {"enable-autofill-credit-card-upload-cvc-prompt", |
| 2450 flag_descriptions::kEnableAutofillCreditCardUploadCvcPrompt, |
| 2451 flag_descriptions::kEnableAutofillCreditCardUploadCvcPromptDescription, |
| 2452 kOsDesktop, |
| 2453 FEATURE_VALUE_TYPE(autofill::kAutofillUpstreamRequestCvcIfMissing)}, |
2449 #if defined(OS_WIN) | 2454 #if defined(OS_WIN) |
2450 {"windows10-custom-titlebar", | 2455 {"windows10-custom-titlebar", |
2451 flag_descriptions::kWindows10CustomTitlebarName, | 2456 flag_descriptions::kWindows10CustomTitlebarName, |
2452 flag_descriptions::kWindows10CustomTitlebarDescription, kOsWin, | 2457 flag_descriptions::kWindows10CustomTitlebarDescription, kOsWin, |
2453 SINGLE_VALUE_TYPE(switches::kWindows10CustomTitlebar)}, | 2458 SINGLE_VALUE_TYPE(switches::kWindows10CustomTitlebar)}, |
2454 #endif // OS_WIN | 2459 #endif // OS_WIN |
2455 | 2460 |
2456 #if defined(OS_ANDROID) | 2461 #if defined(OS_ANDROID) |
2457 {"lsd-permission-prompt", flag_descriptions::kLsdPermissionPromptName, | 2462 {"lsd-permission-prompt", flag_descriptions::kLsdPermissionPromptName, |
2458 flag_descriptions::kLsdPermissionPromptDescription, kOsAndroid, | 2463 flag_descriptions::kLsdPermissionPromptDescription, kOsAndroid, |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2829 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2834 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2830 | 2835 |
2831 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2836 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2832 *count = arraysize(kFeatureEntries); | 2837 *count = arraysize(kFeatureEntries); |
2833 return kFeatureEntries; | 2838 return kFeatureEntries; |
2834 } | 2839 } |
2835 | 2840 |
2836 } // namespace testing | 2841 } // namespace testing |
2837 | 2842 |
2838 } // namespace about_flags | 2843 } // namespace about_flags |
OLD | NEW |