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

Unified Diff: content/public/common/web_preferences.h

Issue 2471153002: [scheduler] Use Finch to control background throttling. (Closed)
Patch Set: Rebased Created 4 years, 1 month 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
Index: content/public/common/web_preferences.h
diff --git a/content/public/common/web_preferences.h b/content/public/common/web_preferences.h
index 9759112e1eabdcdf6123500823acd08a50ec2d9b..0288c8d3ca098c6d00c32b423230600fb84428c8 100644
--- a/content/public/common/web_preferences.h
+++ b/content/public/common/web_preferences.h
@@ -210,6 +210,13 @@ struct CONTENT_EXPORT WebPreferences {
// Cues will not be placed in this margin area.
float text_track_margin_percentage;
+ // Specifies aggressiveness of background tab throttling.
+ // cpu_budget is given in percentages, other values are in seconds.
Sami 2016/11/04 16:50:28 nit: Capitalize CPU.
altimin 2016/11/07 15:19:49 Done.
+ float expensive_background_throttling_cpu_budget;
+ float expensive_background_throttling_initial_budget;
+ float expensive_background_throttling_max_budget;
+ float expensive_background_throttling_max_delay;
+
#if defined(OS_ANDROID)
bool text_autosizing_enabled;
float font_scale_factor;

Powered by Google App Engine
This is Rietveld 408576698