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

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

Issue 2471153002: [scheduler] Use Finch to control background throttling. (Closed)
Patch Set: Address nits from skyostil@ 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..63e606041ac1f9637eb33a5861f0cf30ca6206ff 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.
clamy 2016/11/09 14:28:51 Other values means just max_delay right? I'm think
altimin 2016/11/09 14:46:29 No, "other values" means everything which is not c
clamy 2016/11/09 15:27:07 Ok so that's not super clear. Can you s/CPU budget
altimin 2016/11/09 15:31:27 Sure!
+ 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