Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(77)

Unified Diff: third_party/WebKit/Source/core/html/HTMLMediaElement.h

Issue 2108403003: Measure whether muted videos that started playing with play() become visible at some point (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: this one is ready Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLMediaElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLMediaElement.h b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
index 9863e39251d31afb640160653852f921101638df..cd3615f7a7a8ac351e1237deb4570cb1d76dbd34 100644
--- a/third_party/WebKit/Source/core/html/HTMLMediaElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLMediaElement.h
@@ -44,8 +44,11 @@
namespace blink {
+enum class AutoplaySource;
+
class AudioSourceProviderClient;
class AudioTrackList;
+class AutoplayUmaHelper;
class ContentType;
class CueTimeline;
class ElementVisibilityObserver;
@@ -499,7 +502,7 @@ private:
EnumerationHistogram& showControlsHistogram() const;
- void recordAutoplaySourceMetric(int source);
+ void recordAutoplaySourceMetric(AutoplaySource);
void recordAutoplayUnmuteStatus(AutoplayUnmuteActionStatus);
void onVisibilityChangedForAutoplay(bool isVisible);
@@ -678,6 +681,7 @@ private:
Member<AutoplayExperimentHelper::Client> m_autoplayHelperClient;
Member<AutoplayExperimentHelper> m_autoplayHelper;
+ Member<AutoplayUmaHelper> m_autoplayUmaHelper;
WebRemotePlaybackClient* m_remotePlaybackClient;

Powered by Google App Engine
This is Rietveld 408576698