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