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 2305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2316 "NoStatePrefetchValidation")}, | 2316 "NoStatePrefetchValidation")}, |
2317 #if defined(OS_CHROMEOS) | 2317 #if defined(OS_CHROMEOS) |
2318 {"cros-comp-updates", flag_descriptions::kCrosCompUpdatesName, | 2318 {"cros-comp-updates", flag_descriptions::kCrosCompUpdatesName, |
2319 flag_descriptions::kCrosCompUpdatesDescription, kOsCrOS, | 2319 flag_descriptions::kCrosCompUpdatesDescription, kOsCrOS, |
2320 FEATURE_VALUE_TYPE(features::kCrosCompUpdates)}, | 2320 FEATURE_VALUE_TYPE(features::kCrosCompUpdates)}, |
2321 {"enable-android-wallpapers-app", | 2321 {"enable-android-wallpapers-app", |
2322 flag_descriptions::kEnableAndroidWallpapersAppName, | 2322 flag_descriptions::kEnableAndroidWallpapersAppName, |
2323 flag_descriptions::kEnableAndroidWallpapersAppDescription, kOsCrOS, | 2323 flag_descriptions::kEnableAndroidWallpapersAppDescription, kOsCrOS, |
2324 SINGLE_VALUE_TYPE(chromeos::switches::kEnableAndroidWallpapersApp)}, | 2324 SINGLE_VALUE_TYPE(chromeos::switches::kEnableAndroidWallpapersApp)}, |
2325 #endif // defined(OS_CHROMEOS) | 2325 #endif // defined(OS_CHROMEOS) |
2326 #if defined(OS_ANDROID) | |
2327 {"enable-job-scheduler-api-for-crash-uploads", | |
2328 flag_descriptions::kUploadCrashReportsUsingJobSchedulerName, | |
2329 flag_descriptions::kUploadCrashReportsUsingJobSchedulerDescription, | |
2330 kOsAndroid, | |
2331 FEATURE_VALUE_TYPE(chrome::android::kUploadCrashReportsUsingJobScheduler)}, | |
2332 #endif // OS_ANDROID | |
2333 | 2326 |
2334 #if defined(OS_ANDROID) | 2327 #if defined(OS_ANDROID) |
2335 {"enable-expanded-autofill-credit-card-popup", | 2328 {"enable-expanded-autofill-credit-card-popup", |
2336 flag_descriptions::kEnableExpandedAutofillCreditCardPopupLayout, | 2329 flag_descriptions::kEnableExpandedAutofillCreditCardPopupLayout, |
2337 flag_descriptions::kEnableExpandedAutofillCreditCardPopupLayoutDescription, | 2330 flag_descriptions::kEnableExpandedAutofillCreditCardPopupLayoutDescription, |
2338 kOsAndroid, | 2331 kOsAndroid, |
2339 FEATURE_WITH_PARAMS_VALUE_TYPE( | 2332 FEATURE_WITH_PARAMS_VALUE_TYPE( |
2340 autofill::kAutofillCreditCardPopupLayout, | 2333 autofill::kAutofillCreditCardPopupLayout, |
2341 kAutofillCreditCardPopupLayoutFeatureVariations, | 2334 kAutofillCreditCardPopupLayoutFeatureVariations, |
2342 "AutofillCreditCardPopupLayout")}, | 2335 "AutofillCreditCardPopupLayout")}, |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2697 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2690 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2698 | 2691 |
2699 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2692 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2700 *count = arraysize(kFeatureEntries); | 2693 *count = arraysize(kFeatureEntries); |
2701 return kFeatureEntries; | 2694 return kFeatureEntries; |
2702 } | 2695 } |
2703 | 2696 |
2704 } // namespace testing | 2697 } // namespace testing |
2705 | 2698 |
2706 } // namespace about_flags | 2699 } // namespace about_flags |
OLD | NEW |