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 2321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2332 FEATURE_VALUE_TYPE(features::kNativeAndroidHistoryManager)}, | 2332 FEATURE_VALUE_TYPE(features::kNativeAndroidHistoryManager)}, |
2333 #endif // OS_ANDROID | 2333 #endif // OS_ANDROID |
2334 {"enable-autofill-credit-card-last-used-date-display", | 2334 {"enable-autofill-credit-card-last-used-date-display", |
2335 flag_descriptions::kEnableAutofillCreditCardLastUsedDateDisplay, | 2335 flag_descriptions::kEnableAutofillCreditCardLastUsedDateDisplay, |
2336 flag_descriptions::kEnableAutofillCreditCardLastUsedDateDisplayDescription, | 2336 flag_descriptions::kEnableAutofillCreditCardLastUsedDateDisplayDescription, |
2337 kOsAll, | 2337 kOsAll, |
2338 FEATURE_WITH_PARAMS_VALUE_TYPE( | 2338 FEATURE_WITH_PARAMS_VALUE_TYPE( |
2339 autofill::kAutofillCreditCardLastUsedDateDisplay, | 2339 autofill::kAutofillCreditCardLastUsedDateDisplay, |
2340 kAutofillCreditCardLastUsedDateFeatureVariations, | 2340 kAutofillCreditCardLastUsedDateFeatureVariations, |
2341 "AutofillCreditCardLastUsedDate")}, | 2341 "AutofillCreditCardLastUsedDate")}, |
| 2342 |
| 2343 #if defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || \ |
| 2344 defined(OS_WIN) |
| 2345 {"enable-autofill-credit-card-upload-request-cvc-if-missing", |
| 2346 flag_descriptions::kAutofillUpstreamRequestCvcIfMissing, |
| 2347 flag_descriptions::kAutofillUpstreamRequestCvcIfMissingDescription, |
| 2348 kOsDesktop, |
| 2349 FEATURE_VALUE_TYPE(autofill::kAutofillUpstreamRequestCvcIfMissing)}, |
| 2350 #endif // defined(OS_CHROMEOS) || defined(OS_LINUX) || defined(OS_MACOSX) || |
| 2351 // defined(OS_WIN) |
| 2352 |
2342 #if defined(OS_WIN) | 2353 #if defined(OS_WIN) |
2343 {"windows10-custom-titlebar", | 2354 {"windows10-custom-titlebar", |
2344 flag_descriptions::kWindows10CustomTitlebarName, | 2355 flag_descriptions::kWindows10CustomTitlebarName, |
2345 flag_descriptions::kWindows10CustomTitlebarDescription, kOsWin, | 2356 flag_descriptions::kWindows10CustomTitlebarDescription, kOsWin, |
2346 SINGLE_VALUE_TYPE(switches::kWindows10CustomTitlebar)}, | 2357 SINGLE_VALUE_TYPE(switches::kWindows10CustomTitlebar)}, |
2347 #endif // OS_WIN | 2358 #endif // OS_WIN |
2348 | 2359 |
2349 #if defined(OS_ANDROID) | 2360 #if defined(OS_ANDROID) |
2350 {"lsd-permission-prompt", flag_descriptions::kLsdPermissionPromptName, | 2361 {"lsd-permission-prompt", flag_descriptions::kLsdPermissionPromptName, |
2351 flag_descriptions::kLsdPermissionPromptDescription, kOsAndroid, | 2362 flag_descriptions::kLsdPermissionPromptDescription, kOsAndroid, |
(...skipping 338 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2690 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2701 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2691 | 2702 |
2692 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2703 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2693 *count = arraysize(kFeatureEntries); | 2704 *count = arraysize(kFeatureEntries); |
2694 return kFeatureEntries; | 2705 return kFeatureEntries; |
2695 } | 2706 } |
2696 | 2707 |
2697 } // namespace testing | 2708 } // namespace testing |
2698 | 2709 |
2699 } // namespace about_flags | 2710 } // namespace about_flags |
OLD | NEW |