Index: third_party/WebKit/Source/core/html/media/AutoplayPolicy.h |
diff --git a/third_party/WebKit/Source/core/html/media/AutoplayPolicy.h b/third_party/WebKit/Source/core/html/media/AutoplayPolicy.h |
index a47795b39273d2cfb872adef39b9c330f8a8e7ca..2c25b2847884c99d0ad634ac7434b0c4029c98ff 100644 |
--- a/third_party/WebKit/Source/core/html/media/AutoplayPolicy.h |
+++ b/third_party/WebKit/Source/core/html/media/AutoplayPolicy.h |
@@ -9,6 +9,7 @@ |
#include "core/CoreExport.h" |
#include "core/dom/ExceptionCode.h" |
#include "platform/heap/Handle.h" |
+#include "public/platform/WebMediaPlayerClient.h" |
namespace blink { |
@@ -66,6 +67,9 @@ class AutoplayPolicy final : public GarbageCollected<AutoplayPolicy> { |
// gesture is currently being processed. |
bool IsGestureNeededForPlayback() const; |
+ // Called when source is initialized and loading starts. |
+ void OnLoadStarted(WebMediaPlayer::LoadType); |
+ |
DECLARE_VIRTUAL_TRACE(); |
private: |