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

Unified Diff: Source/modules/mediasource/SourceBuffer.h

Issue 61603006: Remove MediaSourcePrivate/SourceBufferPrivate (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: assert null Created 7 years, 1 month 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
« no previous file with comments | « Source/modules/mediasource/MediaSourceBase.cpp ('k') | Source/modules/mediasource/SourceBuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediasource/SourceBuffer.h
diff --git a/Source/modules/mediasource/SourceBuffer.h b/Source/modules/mediasource/SourceBuffer.h
index abdb5ee90807690299666f90f768410ccb83ef3b..6939dae361aa29b60caab83514b0ae2d72e0794e 100644
--- a/Source/modules/mediasource/SourceBuffer.h
+++ b/Source/modules/mediasource/SourceBuffer.h
@@ -35,7 +35,6 @@
#include "core/dom/ActiveDOMObject.h"
#include "core/events/EventTarget.h"
#include "core/fileapi/FileReaderLoaderClient.h"
-#include "core/platform/graphics/SourceBufferPrivate.h"
#include "platform/AsyncMethodRunner.h"
#include "weborigin/KURL.h"
#include "wtf/OwnPtr.h"
@@ -45,6 +44,10 @@
#include "wtf/RefPtr.h"
#include "wtf/text/WTFString.h"
+namespace blink {
+class WebSourceBuffer;
+}
+
namespace WebCore {
class ExceptionState;
@@ -57,7 +60,7 @@ class TimeRanges;
class SourceBuffer : public RefCounted<SourceBuffer>, public ActiveDOMObject, public EventTargetWithInlineData, public ScriptWrappable, public FileReaderLoaderClient {
REFCOUNTED_EVENT_TARGET(SourceBuffer);
public:
- static PassRefPtr<SourceBuffer> create(PassOwnPtr<SourceBufferPrivate>, MediaSource*, GenericEventQueue*);
+ static PassRefPtr<SourceBuffer> create(PassOwnPtr<blink::WebSourceBuffer>, MediaSource*, GenericEventQueue*);
virtual ~SourceBuffer();
@@ -91,7 +94,7 @@ public:
virtual const AtomicString& interfaceName() const OVERRIDE;
private:
- SourceBuffer(PassOwnPtr<SourceBufferPrivate>, MediaSource*, GenericEventQueue*);
+ SourceBuffer(PassOwnPtr<blink::WebSourceBuffer>, MediaSource*, GenericEventQueue*);
bool isRemoved() const;
void scheduleEvent(const AtomicString& eventName);
@@ -112,7 +115,7 @@ private:
virtual void didFinishLoading() OVERRIDE;
virtual void didFail(FileError::ErrorCode) OVERRIDE;
- OwnPtr<SourceBufferPrivate> m_private;
+ OwnPtr<blink::WebSourceBuffer> m_webSourceBuffer;
MediaSource* m_source;
GenericEventQueue* m_asyncEventQueue;
« no previous file with comments | « Source/modules/mediasource/MediaSourceBase.cpp ('k') | Source/modules/mediasource/SourceBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698