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

Unified Diff: media/blink/webmediaplayer_params.h

Issue 2818823002: [Media] Add a finch trial param for background MediaSource videos (Closed)
Patch Set: Created 3 years, 8 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 | « media/blink/webmediaplayer_impl_unittest.cc ('k') | media/blink/webmediaplayer_params.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webmediaplayer_params.h
diff --git a/media/blink/webmediaplayer_params.h b/media/blink/webmediaplayer_params.h
index b16ee3a7c3f99dcd0b479ed9b052df6d47a66b60..2da0d23cb9fb745bb958aab3f334d7d64b9aab16 100644
--- a/media/blink/webmediaplayer_params.h
+++ b/media/blink/webmediaplayer_params.h
@@ -60,6 +60,7 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerParams {
SurfaceManager* surface_manager,
base::WeakPtr<MediaObserver> media_observer,
base::TimeDelta max_keyframe_distance_to_disable_background_video,
+ base::TimeDelta max_keyframe_distance_to_disable_background_video_mse,
bool enable_instant_source_buffer_gc,
bool allow_suspend,
bool embedded_media_experience_enabled);
@@ -110,6 +111,11 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerParams {
return max_keyframe_distance_to_disable_background_video_;
}
+ base::TimeDelta max_keyframe_distance_to_disable_background_video_mse()
+ const {
+ return max_keyframe_distance_to_disable_background_video_mse_;
+ }
+
bool enable_instant_source_buffer_gc() const {
return enable_instant_source_buffer_gc_;
}
@@ -134,6 +140,7 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerParams {
SurfaceManager* surface_manager_;
base::WeakPtr<MediaObserver> media_observer_;
base::TimeDelta max_keyframe_distance_to_disable_background_video_;
+ base::TimeDelta max_keyframe_distance_to_disable_background_video_mse_;
bool enable_instant_source_buffer_gc_;
const bool allow_suspend_;
const bool embedded_media_experience_enabled_;
« no previous file with comments | « media/blink/webmediaplayer_impl_unittest.cc ('k') | media/blink/webmediaplayer_params.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698