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 2352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2363 FEATURE_VALUE_TYPE(features::kNativeAndroidHistoryManager)}, | 2363 FEATURE_VALUE_TYPE(features::kNativeAndroidHistoryManager)}, |
2364 #endif // OS_ANDROID | 2364 #endif // OS_ANDROID |
2365 {"enable-autofill-credit-card-last-used-date-display", | 2365 {"enable-autofill-credit-card-last-used-date-display", |
2366 flag_descriptions::kEnableAutofillCreditCardLastUsedDateDisplay, | 2366 flag_descriptions::kEnableAutofillCreditCardLastUsedDateDisplay, |
2367 flag_descriptions::kEnableAutofillCreditCardLastUsedDateDisplayDescription, | 2367 flag_descriptions::kEnableAutofillCreditCardLastUsedDateDisplayDescription, |
2368 kOsAll, | 2368 kOsAll, |
2369 FEATURE_WITH_PARAMS_VALUE_TYPE( | 2369 FEATURE_WITH_PARAMS_VALUE_TYPE( |
2370 autofill::kAutofillCreditCardLastUsedDateDisplay, | 2370 autofill::kAutofillCreditCardLastUsedDateDisplay, |
2371 kAutofillCreditCardLastUsedDateFeatureVariations, | 2371 kAutofillCreditCardLastUsedDateFeatureVariations, |
2372 "AutofillCreditCardLastUsedDate")}, | 2372 "AutofillCreditCardLastUsedDate")}, |
| 2373 {"enable-autofill-credit-card-upload-cvc-prompt", |
| 2374 flag_descriptions::kEnableAutofillCreditCardUploadCvcPrompt, |
| 2375 flag_descriptions::kEnableAutofillCreditCardUploadCvcPromptDescription, |
| 2376 kOsDesktop, |
| 2377 FEATURE_VALUE_TYPE(autofill::kAutofillUpstreamRequestCvcIfMissing)}, |
2373 #if defined(OS_WIN) | 2378 #if defined(OS_WIN) |
2374 {"windows10-custom-titlebar", | 2379 {"windows10-custom-titlebar", |
2375 flag_descriptions::kWindows10CustomTitlebarName, | 2380 flag_descriptions::kWindows10CustomTitlebarName, |
2376 flag_descriptions::kWindows10CustomTitlebarDescription, kOsWin, | 2381 flag_descriptions::kWindows10CustomTitlebarDescription, kOsWin, |
2377 SINGLE_VALUE_TYPE(switches::kWindows10CustomTitlebar)}, | 2382 SINGLE_VALUE_TYPE(switches::kWindows10CustomTitlebar)}, |
2378 #endif // OS_WIN | 2383 #endif // OS_WIN |
2379 | 2384 |
2380 #if defined(OS_ANDROID) | 2385 #if defined(OS_ANDROID) |
2381 {"lsd-permission-prompt", flag_descriptions::kLsdPermissionPromptName, | 2386 {"lsd-permission-prompt", flag_descriptions::kLsdPermissionPromptName, |
2382 flag_descriptions::kLsdPermissionPromptDescription, kOsAndroid, | 2387 flag_descriptions::kLsdPermissionPromptDescription, kOsAndroid, |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2721 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2726 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2722 | 2727 |
2723 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2728 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2724 *count = arraysize(kFeatureEntries); | 2729 *count = arraysize(kFeatureEntries); |
2725 return kFeatureEntries; | 2730 return kFeatureEntries; |
2726 } | 2731 } |
2727 | 2732 |
2728 } // namespace testing | 2733 } // namespace testing |
2729 | 2734 |
2730 } // namespace about_flags | 2735 } // namespace about_flags |
OLD | NEW |