Index: Source/modules/mediastream/RTCDataChannel.h |
diff --git a/Source/modules/mediastream/RTCDataChannel.h b/Source/modules/mediastream/RTCDataChannel.h |
index a33127075e5aeb8c496790ef467a6632d7be1cbb..1559d2cc7c3febbdaf187948b2e3da4bc4a6b4fe 100644 |
--- a/Source/modules/mediastream/RTCDataChannel.h |
+++ b/Source/modules/mediastream/RTCDataChannel.h |
@@ -31,6 +31,10 @@ |
#include "core/platform/mediastream/RTCDataChannelHandlerClient.h" |
#include "wtf/RefCounted.h" |
+namespace WebKit { |
+struct WebRTCDataChannelInit; |
+} |
+ |
namespace WebCore { |
class Blob; |
@@ -39,8 +43,8 @@ class RTCPeerConnectionHandler; |
class RTCDataChannel : public RefCounted<RTCDataChannel>, public ScriptWrappable, public EventTarget, public RTCDataChannelHandlerClient { |
public: |
- static PassRefPtr<RTCDataChannel> create(ScriptExecutionContext*, RTCPeerConnectionHandler*, const String& label, bool reliable, ExceptionCode&); |
static PassRefPtr<RTCDataChannel> create(ScriptExecutionContext*, PassOwnPtr<RTCDataChannelHandler>); |
+ static PassRefPtr<RTCDataChannel> create(ScriptExecutionContext*, RTCPeerConnectionHandler*, const String& label, const WebKit::WebRTCDataChannelInit&, ExceptionCode&); |
~RTCDataChannel(); |
String label() const; |