Index: media/blink/watch_time_reporter.h |
diff --git a/media/blink/watch_time_reporter.h b/media/blink/watch_time_reporter.h |
index 8290bdc1b04807003620dbae5eb903040d40a69d..9b3b93bf41890581f05820c2105bd15a7e734045 100644 |
--- a/media/blink/watch_time_reporter.h |
+++ b/media/blink/watch_time_reporter.h |
@@ -103,6 +103,10 @@ class MEDIA_BLINK_EXPORT WatchTimeReporter : base::PowerObserver { |
void OnShown(); |
void OnHidden(); |
+ // Returns true if the current size is large enough that watch time will be |
+ // recorded for playback. |
+ bool IsSizeLargeEnoughToReportWatchTime() const; |
+ |
// Setup the reporting interval to be immediate to avoid spinning real time |
// within the unit test. |
void set_reporting_interval_for_testing() { |