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

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

Issue 2605993002: Experiment with more aggressive MSE GC on memory pressure (Closed)
Patch Set: Improve feature handling (CR feedback) Created 3 years, 11 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
Index: content/public/common/web_preferences.h
diff --git a/content/public/common/web_preferences.h b/content/public/common/web_preferences.h
index 9bcda9e87dee064796afa827bf34f6ec94e92085..fa81c8b545b9e8ca52dfa469e18236a6fb953e88 100644
--- a/content/public/common/web_preferences.h
+++ b/content/public/common/web_preferences.h
@@ -272,6 +272,14 @@ struct CONTENT_EXPORT WebPreferences {
// the renderer process. See https://crbug.com/681160.
base::TimeDelta max_keyframe_distance_to_disable_background_video;
+ // When MSE garbage-collection on memory pressure is enabled, the
DaleCurtis 2017/01/26 23:07:36 "When memory pressure based garbage collection is
servolk 2017/01/27 00:52:13 Done.
+ // |mse_force_gc_on_memory_pressure| controls whether the GC is done
+ // immediately on memory pressure notification or during the next SourceBuffer
+ // append (slower, but more MSE-spec compliant).
DaleCurtis 2017/01/26 23:07:36 s/more/is/
servolk 2017/01/27 00:52:13 Done.
+ // TODO(avayvod, asvitkine): Query the value directly when it is available in
DaleCurtis 2017/01/26 23:07:36 s/avayvod/servolk/
servolk 2017/01/27 00:52:13 Done.
+ // the renderer process. See https://crbug.com/681160.
+ bool mse_force_gc_on_memory_pressure;
+
// Whether it is a presentation receiver.
bool presentation_receiver;

Powered by Google App Engine
This is Rietveld 408576698