Index: media/blink/webmediaplayer_impl.h |
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h |
index 5be40d1fdd93ffc0474695a85cbe1ea917b55c7c..406490765b7e4031765354cd12385e557b14c2c9 100644 |
--- a/media/blink/webmediaplayer_impl.h |
+++ b/media/blink/webmediaplayer_impl.h |
@@ -458,6 +458,9 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl |
// handling a src= or MSE based playback. |
void RecordUnderflowDuration(base::TimeDelta duration); |
+ // Records |natural_size| to MediaLog and video height to UMA. |
+ void RecordVideoNaturalSize(const gfx::Size& natural_size); |
+ |
blink::WebLocalFrame* frame_; |
// The playback state last reported to |delegate_|, to avoid setting duplicate |
@@ -721,6 +724,8 @@ class MEDIA_BLINK_EXPORT WebMediaPlayerImpl |
base::CancelableCallback<void(base::TimeTicks)> frame_time_report_cb_; |
+ bool initial_video_height_recorded_ = false; |
+ |
DISALLOW_COPY_AND_ASSIGN(WebMediaPlayerImpl); |
}; |