Index: content/browser/android/content_video_view.h |
diff --git a/content/browser/android/content_video_view.h b/content/browser/android/content_video_view.h |
index faea292b5f0f9757730dcf4a385b6d044959e263..b45f38fc0c101e2abd203b06daa58321ac880bb3 100644 |
--- a/content/browser/android/content_video_view.h |
+++ b/content/browser/android/content_video_view.h |
@@ -72,6 +72,14 @@ class ContentVideoView { |
void OnPlaybackComplete(); |
void OnExitFullscreen(); |
+ // Functions called to record fullscreen playback UMA metrics. |
+ void RecordFullscreenPlayback( |
+ JNIEnv*, jobject, bool is_portrait_video, bool is_orientation_portrait); |
+ void RecordExitFullscreenPlayback( |
+ JNIEnv*, jobject, bool is_portrait_video, |
+ long playback_duration_in_milliseconds_before_orientation_change, |
+ long playback_duration_in_milliseconds_after_orientation_change); |
+ |
// Return the corresponing ContentVideoView Java object if any. |
base::android::ScopedJavaLocalRef<jobject> GetJavaObject(JNIEnv* env); |