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

Unified Diff: Source/modules/mediasource/WebKitSourceBuffer.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/WebKitMediaSource.cpp ('k') | Source/modules/mediasource/WebKitSourceBuffer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediasource/WebKitSourceBuffer.h
diff --git a/Source/modules/mediasource/WebKitSourceBuffer.h b/Source/modules/mediasource/WebKitSourceBuffer.h
index 899972a1078958e80d1c46c36399f8bed09590d2..6869b16b46a909f311803302168d1e62668de8d2 100644
--- a/Source/modules/mediasource/WebKitSourceBuffer.h
+++ b/Source/modules/mediasource/WebKitSourceBuffer.h
@@ -36,16 +36,19 @@
#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
+namespace blink {
+class WebSourceBuffer;
+}
+
namespace WebCore {
class ExceptionState;
-class SourceBufferPrivate;
class TimeRanges;
class WebKitMediaSource;
class WebKitSourceBuffer FINAL : public RefCounted<WebKitSourceBuffer>, public ScriptWrappable {
public:
- static PassRefPtr<WebKitSourceBuffer> create(PassOwnPtr<SourceBufferPrivate>, PassRefPtr<WebKitMediaSource>);
+ static PassRefPtr<WebKitSourceBuffer> create(PassOwnPtr<blink::WebSourceBuffer>, PassRefPtr<WebKitMediaSource>);
~WebKitSourceBuffer();
@@ -59,11 +62,11 @@ public:
void removedFromMediaSource();
private:
- WebKitSourceBuffer(PassOwnPtr<SourceBufferPrivate>, PassRefPtr<WebKitMediaSource>);
+ WebKitSourceBuffer(PassOwnPtr<blink::WebSourceBuffer>, PassRefPtr<WebKitMediaSource>);
bool isRemoved() const;
- OwnPtr<SourceBufferPrivate> m_private;
+ OwnPtr<blink::WebSourceBuffer> m_webSourceBuffer;
RefPtr<WebKitMediaSource> m_source;
double m_timestampOffset;
« no previous file with comments | « Source/modules/mediasource/WebKitMediaSource.cpp ('k') | Source/modules/mediasource/WebKitSourceBuffer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698