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 2205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2216 "NoStatePrefetchValidation")}, | 2216 "NoStatePrefetchValidation")}, |
2217 #if defined(OS_CHROMEOS) | 2217 #if defined(OS_CHROMEOS) |
2218 {"cros-comp-updates", IDS_FLAGS_CROS_COMP_UPDATES_NAME, | 2218 {"cros-comp-updates", IDS_FLAGS_CROS_COMP_UPDATES_NAME, |
2219 IDS_FLAGS_CROS_COMP_UPDATES_DESCRIPTION, kOsCrOS, | 2219 IDS_FLAGS_CROS_COMP_UPDATES_DESCRIPTION, kOsCrOS, |
2220 FEATURE_VALUE_TYPE(features::kCrosCompUpdates)}, | 2220 FEATURE_VALUE_TYPE(features::kCrosCompUpdates)}, |
2221 {"enable-android-wallpapers-app", | 2221 {"enable-android-wallpapers-app", |
2222 IDS_FLAGS_ENABLE_ANDROID_WALLPAPERS_APP_NAME, | 2222 IDS_FLAGS_ENABLE_ANDROID_WALLPAPERS_APP_NAME, |
2223 IDS_FLAGS_ENABLE_ANDROID_WALLPAPERS_APP_DESCRIPTION, kOsCrOS, | 2223 IDS_FLAGS_ENABLE_ANDROID_WALLPAPERS_APP_DESCRIPTION, kOsCrOS, |
2224 SINGLE_VALUE_TYPE(chromeos::switches::kEnableAndroidWallpapersApp)}, | 2224 SINGLE_VALUE_TYPE(chromeos::switches::kEnableAndroidWallpapersApp)}, |
2225 #endif // defined(OS_CHROMEOS) | 2225 #endif // defined(OS_CHROMEOS) |
| 2226 #if defined(OS_ANDROID) |
| 2227 {"enable-job-scheduler-api-for-crash-uploads", |
| 2228 IDS_FLAGS_UPLOAD_CRASH_REPORTS_USING_JOB_SCHEDULER_NAME, |
| 2229 IDS_FLAGS_UPLOAD_CRASH_REPORTS_USING_JOB_SCHEDULER_DESCRIPTION, kOsAndroid, |
| 2230 FEATURE_VALUE_TYPE(chrome::android::kUploadCrashReportsUsingJobScheduler)}, |
| 2231 #endif // OS_ANDROID |
2226 | 2232 |
2227 #if defined(OS_ANDROID) | 2233 #if defined(OS_ANDROID) |
2228 {"enable-expanded-autofill-credit-card-popup", | 2234 {"enable-expanded-autofill-credit-card-popup", |
2229 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT, | 2235 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT, |
2230 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT_DESCRIPTION, | 2236 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT_DESCRIPTION, |
2231 kOsAndroid, | 2237 kOsAndroid, |
2232 FEATURE_WITH_VARIATIONS_VALUE_TYPE( | 2238 FEATURE_WITH_VARIATIONS_VALUE_TYPE( |
2233 autofill::kAutofillCreditCardPopupLayout, | 2239 autofill::kAutofillCreditCardPopupLayout, |
2234 kAutofillCreditCardPopupLayoutFeatureVariations, | 2240 kAutofillCreditCardPopupLayoutFeatureVariations, |
2235 "AutofillCreditCardPopupLayout")}, | 2241 "AutofillCreditCardPopupLayout")}, |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2550 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2556 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
2551 | 2557 |
2552 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2558 const FeatureEntry* GetFeatureEntries(size_t* count) { |
2553 *count = arraysize(kFeatureEntries); | 2559 *count = arraysize(kFeatureEntries); |
2554 return kFeatureEntries; | 2560 return kFeatureEntries; |
2555 } | 2561 } |
2556 | 2562 |
2557 } // namespace testing | 2563 } // namespace testing |
2558 | 2564 |
2559 } // namespace about_flags | 2565 } // namespace about_flags |
OLD | NEW |