| 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 2209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2220 "NoStatePrefetchValidation")}, | 2220 "NoStatePrefetchValidation")}, |
| 2221 #if defined(OS_CHROMEOS) | 2221 #if defined(OS_CHROMEOS) |
| 2222 {"cros-comp-updates", IDS_FLAGS_CROS_COMP_UPDATES_NAME, | 2222 {"cros-comp-updates", IDS_FLAGS_CROS_COMP_UPDATES_NAME, |
| 2223 IDS_FLAGS_CROS_COMP_UPDATES_DESCRIPTION, kOsCrOS, | 2223 IDS_FLAGS_CROS_COMP_UPDATES_DESCRIPTION, kOsCrOS, |
| 2224 FEATURE_VALUE_TYPE(features::kCrosCompUpdates)}, | 2224 FEATURE_VALUE_TYPE(features::kCrosCompUpdates)}, |
| 2225 {"enable-android-wallpapers-app", | 2225 {"enable-android-wallpapers-app", |
| 2226 IDS_FLAGS_ENABLE_ANDROID_WALLPAPERS_APP_NAME, | 2226 IDS_FLAGS_ENABLE_ANDROID_WALLPAPERS_APP_NAME, |
| 2227 IDS_FLAGS_ENABLE_ANDROID_WALLPAPERS_APP_DESCRIPTION, kOsCrOS, | 2227 IDS_FLAGS_ENABLE_ANDROID_WALLPAPERS_APP_DESCRIPTION, kOsCrOS, |
| 2228 SINGLE_VALUE_TYPE(chromeos::switches::kEnableAndroidWallpapersApp)}, | 2228 SINGLE_VALUE_TYPE(chromeos::switches::kEnableAndroidWallpapersApp)}, |
| 2229 #endif // defined(OS_CHROMEOS) | 2229 #endif // defined(OS_CHROMEOS) |
| 2230 #if defined(OS_ANDROID) |
| 2231 {"enable-job-scheduler-api-for-crash-uploads", |
| 2232 IDS_FLAGS_UPLOAD_CRASH_REPORTS_USING_JOB_SCHEDULER_NAME, |
| 2233 IDS_FLAGS_UPLOAD_CRASH_REPORTS_USING_JOB_SCHEDULER_DESCRIPTION, kOsAndroid, |
| 2234 FEATURE_VALUE_TYPE(chrome::android::kUploadCrashReportsUsingJobScheduler)}, |
| 2235 #endif // OS_ANDROID |
| 2230 | 2236 |
| 2231 #if defined(OS_ANDROID) | 2237 #if defined(OS_ANDROID) |
| 2232 {"enable-expanded-autofill-credit-card-popup", | 2238 {"enable-expanded-autofill-credit-card-popup", |
| 2233 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT, | 2239 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT, |
| 2234 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT_DESCRIPTION, | 2240 IDS_FLAGS_ENABLE_EXPANDED_AUTOFILL_CREDIT_CARD_POPUP_LAYOUT_DESCRIPTION, |
| 2235 kOsAndroid, | 2241 kOsAndroid, |
| 2236 FEATURE_WITH_VARIATIONS_VALUE_TYPE( | 2242 FEATURE_WITH_VARIATIONS_VALUE_TYPE( |
| 2237 autofill::kAutofillCreditCardPopupLayout, | 2243 autofill::kAutofillCreditCardPopupLayout, |
| 2238 kAutofillCreditCardPopupLayoutFeatureVariations, | 2244 kAutofillCreditCardPopupLayoutFeatureVariations, |
| 2239 "AutofillCreditCardPopupLayout")}, | 2245 "AutofillCreditCardPopupLayout")}, |
| (...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2571 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; | 2577 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; |
| 2572 | 2578 |
| 2573 const FeatureEntry* GetFeatureEntries(size_t* count) { | 2579 const FeatureEntry* GetFeatureEntries(size_t* count) { |
| 2574 *count = arraysize(kFeatureEntries); | 2580 *count = arraysize(kFeatureEntries); |
| 2575 return kFeatureEntries; | 2581 return kFeatureEntries; |
| 2576 } | 2582 } |
| 2577 | 2583 |
| 2578 } // namespace testing | 2584 } // namespace testing |
| 2579 | 2585 |
| 2580 } // namespace about_flags | 2586 } // namespace about_flags |
| OLD | NEW |