| 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 2191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2202 "NoStatePrefetchValidation")}, | 2202 "NoStatePrefetchValidation")}, |
| 2203 #if defined(OS_CHROMEOS) | 2203 #if defined(OS_CHROMEOS) |
| 2204 {"cros-comp-updates", IDS_FLAGS_CROS_COMP_UPDATES_NAME, | 2204 {"cros-comp-updates", IDS_FLAGS_CROS_COMP_UPDATES_NAME, |
| 2205 IDS_FLAGS_CROS_COMP_UPDATES_DESCRIPTION, kOsCrOS, | 2205 IDS_FLAGS_CROS_COMP_UPDATES_DESCRIPTION, kOsCrOS, |
| 2206 FEATURE_VALUE_TYPE(features::kCrosCompUpdates)}, | 2206 FEATURE_VALUE_TYPE(features::kCrosCompUpdates)}, |
| 2207 {"enable-android-wallpapers-app", | 2207 {"enable-android-wallpapers-app", |
| 2208 IDS_FLAGS_ENABLE_ANDROID_WALLPAPERS_APP_NAME, | 2208 IDS_FLAGS_ENABLE_ANDROID_WALLPAPERS_APP_NAME, |
| 2209 IDS_FLAGS_ENABLE_ANDROID_WALLPAPERS_APP_DESCRIPTION, kOsCrOS, | 2209 IDS_FLAGS_ENABLE_ANDROID_WALLPAPERS_APP_DESCRIPTION, kOsCrOS, |
| 2210 SINGLE_VALUE_TYPE(chromeos::switches::kEnableAndroidWallpapersApp)}, | 2210 SINGLE_VALUE_TYPE(chromeos::switches::kEnableAndroidWallpapersApp)}, |
| 2211 #endif // defined(OS_CHROMEOS) | 2211 #endif // defined(OS_CHROMEOS) |
| 2212 #if defined(OS_ANDROID) |
| 2213 {"enable-job-scheduler-api-for-crash-uploads", |
| 2214 IDS_FLAGS_UPLOAD_CRASH_REPORTS_USING_JOB_SCHEDULER_NAME, |
| 2215 IDS_FLAGS_UPLOAD_CRASH_REPORTS_USING_JOB_SCHEDULER_DESCRIPTION, kOsAndroid, |
| 2216 FEATURE_VALUE_TYPE(chrome::android::kUploadCrashReportsUsingJobScheduler)}, |
| 2217 #endif // OS_ANDROID |
| 2212 | 2218 |
| 2213 #if defined(OS_ANDROID) | 2219 #if defined(OS_ANDROID) |
| 2214 {"enable-expanded-autofill-credit-card-popup", | 2220 {"enable-expanded-autofill-credit-card-popup", |
| 2215 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT, | 2221 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT, |
| 2216 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT_DESCRIPTION, | 2222 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT_DESCRIPTION, |
| 2217 kOsAndroid, | 2223 kOsAndroid, |
| 2218 FEATURE_WITH_VARIATIONS_VALUE_TYPE( | 2224 FEATURE_WITH_VARIATIONS_VALUE_TYPE( |
| 2219 autofill::kAutofillCreditCardPopupLayout, | 2225 autofill::kAutofillCreditCardPopupLayout, |
| 2220 kAutofillCreditCardPopupLayoutFeatureVariations, | 2226 kAutofillCreditCardPopupLayoutFeatureVariations, |
| 2221 "AutofillCreditCardPopupLayout")}, | 2227 "AutofillCreditCardPopupLayout")}, |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2529 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2535 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2530 | 2536 |
| 2531 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2537 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2532 *count = arraysize(kFeatureEntries); | 2538 *count = arraysize(kFeatureEntries); |
| 2533 return kFeatureEntries; | 2539 return kFeatureEntries; |
| 2534 } | 2540 } |
| 2535 | 2541 |
| 2536 } // namespace testing | 2542 } // namespace testing |
| 2537 | 2543 |
| 2538 } // namespace about_flags | 2544 } // namespace about_flags |
| OLD | NEW |