Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1272)

Unified Diff: chrome/browser/about_flags.cc

Issue 2345483002: [scheduler] Throttle background frames with 1% CPU limit (Closed)
Patch Set: Rebased Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index eb8da3a29cfdabbf54562d5ebd79196b7abac04e..3f792821a8f4eccb0f5964b4b36830d3eb9d7420 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1479,9 +1479,9 @@ const FeatureEntry kFeatureEntries[] = {
MULTI_VALUE_TYPE(kDataReductionProxyLoFiChoices)},
{"enable-data-reduction-proxy-lite-page",
IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_LITE_PAGE_NAME,
- IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_LITE_PAGE_DESCRIPTION,
- kOsAll, SINGLE_VALUE_TYPE(data_reduction_proxy::switches::
- kEnableDataReductionProxyLitePage)},
+ IDS_FLAGS_ENABLE_DATA_REDUCTION_PROXY_LITE_PAGE_DESCRIPTION, kOsAll,
+ SINGLE_VALUE_TYPE(
+ data_reduction_proxy::switches::kEnableDataReductionProxyLitePage)},
{"clear-data-reduction-proxy-data-savings",
IDS_FLAGS_DATA_REDUCTION_PROXY_RESET_SAVINGS_NAME,
IDS_FLAGS_DATA_REDUCTION_PROXY_RESET_SAVINGS_DESCRIPTION, kOsAll,
@@ -2011,8 +2011,7 @@ const FeatureEntry kFeatureEntries[] = {
IDS_FLAGS_MATERIAL_SECURITY_VERBOSE_DESCRIPTION, kOsDesktop,
MULTI_VALUE_TYPE(kSecurityVerboseChoices)},
#if defined(OS_CHROMEOS)
- {"arc-boot-completed-broadcast",
- IDS_FLAGS_ARC_BOOT_COMPLETED,
+ {"arc-boot-completed-broadcast", IDS_FLAGS_ARC_BOOT_COMPLETED,
IDS_FLAGS_ARC_BOOT_COMPLETED_DESCRIPTION, kOsCrOS,
FEATURE_VALUE_TYPE(arc::kBootCompletedBroadcastFeature)},
#endif
@@ -2027,6 +2026,10 @@ const FeatureEntry kFeatureEntries[] = {
{"enable-generic-sensor", IDS_FLAGS_ENABLE_GENERIC_SENSOR_NAME,
IDS_FLAGS_ENABLE_GENERIC_SENSOR_DESCRIPTION, kOsAndroid | kOsMac,
FEATURE_VALUE_TYPE(features::kGenericSensor)},
+ {"expensive-background-timer-throttling",
+ IDS_FLAGS_EXPENSIVE_BACKGROUND_TIMER_THROTTLING_NAME,
+ IDS_FLAGS_EXPENSIVE_BACKGROUND_TIMER_THROTTLING_DESCRIPTION, kOsAll,
+ FEATURE_VALUE_TYPE(features::kExpensiveBackgroundTimerThrottling)},
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms.xml. See note in
// histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/child/runtime_features.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698