| Index: third_party/WebKit/Source/core/html/AutoplayUmaHelper.h
|
| diff --git a/third_party/WebKit/Source/core/html/AutoplayUmaHelper.h b/third_party/WebKit/Source/core/html/AutoplayUmaHelper.h
|
| index c5330b1228909fb964b31c06f43289d6e11fdddb..0e138db843988b8a775fc3fdbeef1d670bbf36cd 100644
|
| --- a/third_party/WebKit/Source/core/html/AutoplayUmaHelper.h
|
| +++ b/third_party/WebKit/Source/core/html/AutoplayUmaHelper.h
|
| @@ -78,7 +78,8 @@ class AutoplayUmaHelper final : public EventListener {
|
|
|
| bool shouldListenToUnloadEvent() const;
|
|
|
| - // The autoplay source. Use AutoplaySource::NumberOfSources for invalid source.
|
| + // The autoplay source. Use AutoplaySource::NumberOfSources for invalid
|
| + // source.
|
| AutoplaySource m_source;
|
| // The media element this UMA helper is attached to. |m_element| owns |this|.
|
| Member<HTMLMediaElement> m_element;
|
| @@ -89,8 +90,9 @@ class AutoplayUmaHelper final : public EventListener {
|
| Member<ElementVisibilityObserver> m_mutedVideoPlayMethodVisibilityObserver;
|
|
|
| // -----------------------------------------------------------------------
|
| - // Variables used for recording the duration of autoplay muted video playing offscreen.
|
| - // The variables are valid when |m_autoplayOffscrenVisibilityObserver| is non-null.
|
| + // Variables used for recording the duration of autoplay muted video playing
|
| + // offscreen. The variables are valid when
|
| + // |m_autoplayOffscrenVisibilityObserver| is non-null.
|
| // The recording stops whenever the playback pauses or the page is unloaded.
|
|
|
| // The starting time of autoplaying muted video.
|
| @@ -102,9 +104,9 @@ class AutoplayUmaHelper final : public EventListener {
|
| // Whether an autoplaying muted video is visible.
|
| bool m_isVisible;
|
|
|
| - // The observer is used to observer an autoplaying muted video changing it's visibility,
|
| - // which is used for offscreen duration UMA.
|
| - // The UMA is pending for recording as long as this observer is non-null.
|
| + // The observer is used to observer an autoplaying muted video changing it's
|
| + // visibility, which is used for offscreen duration UMA. The UMA is pending
|
| + // for recording as long as this observer is non-null.
|
| Member<ElementVisibilityObserver>
|
| m_mutedVideoOffscreenDurationVisibilityObserver;
|
| };
|
|
|