Index: media/blink/webmediaplayer_impl.h |
diff --git a/media/blink/webmediaplayer_impl.h b/media/blink/webmediaplayer_impl.h |
index 8e1a16b5e3345d840a758147a99f3979c7a0d7d9..8c59145a74498b604b90c813b72b77853e3934a7 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 |
@@ -717,6 +720,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); |
}; |