Index: third_party/WebKit/Source/modules/mediasource/MediaSource.h |
diff --git a/third_party/WebKit/Source/modules/mediasource/MediaSource.h b/third_party/WebKit/Source/modules/mediasource/MediaSource.h |
index d022f7dfe033c1a237da9af9165ce7be6c03814e..ac4da9d15c1bbd3491a3c11544a34a0924afc5e7 100644 |
--- a/third_party/WebKit/Source/modules/mediasource/MediaSource.h |
+++ b/third_party/WebKit/Source/modules/mediasource/MediaSource.h |
@@ -35,6 +35,7 @@ |
#include "core/dom/ActiveDOMObject.h" |
#include "core/events/EventTarget.h" |
#include "core/html/HTMLMediaSource.h" |
+#include "core/html/TimeRanges.h" |
#include "core/html/URLRegistry.h" |
#include "modules/mediasource/SourceBuffer.h" |
#include "modules/mediasource/SourceBufferList.h" |
@@ -74,6 +75,9 @@ public: |
const AtomicString& readyState() const { return m_readyState; } |
void endOfStream(const AtomicString& error, ExceptionState&); |
void endOfStream(ExceptionState&); |
+ void setLiveSeekableRange(double start, double end, ExceptionState&); |
+ void clearLiveSeekableRange(ExceptionState&); |
+ |
static bool isTypeSupported(const String& type); |
// HTMLMediaSource |
@@ -134,6 +138,8 @@ private: |
Member<SourceBufferList> m_sourceBuffers; |
Member<SourceBufferList> m_activeSourceBuffers; |
+ Member<TimeRanges> m_liveSeekableRange; |
+ |
bool m_isAddedToRegistry; |
}; |