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 8e20d46c478082673517bb99a75eb2cfae47d249..b79ddd2fabdd71fa8ca8eb394d9228a7d23fc83e 100644 |
--- a/third_party/WebKit/Source/core/html/media/AutoplayPolicy.h |
+++ b/third_party/WebKit/Source/core/html/media/AutoplayPolicy.h |
@@ -8,6 +8,7 @@ |
#include "bindings/core/v8/Nullable.h" |
#include "core/dom/ExceptionCode.h" |
#include "platform/heap/Handle.h" |
+#include "public/platform/WebMediaPlayerClient.h" |
namespace blink { |
@@ -56,6 +57,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: |