H A D | RTCDataChannel.cpp | 26 #include "modules/mediastream/RTCDataChannel.h" 42 exceptionState.throwDOMException(InvalidStateError, "RTCDataChannel.readyState is not 'open'"); 55 RTCDataChannel* RTCDataChannel::create(ExecutionContext* context, RTCPeerConnection* connection, PassOwnPtr<WebRTCDataChannelHandler> handler) 58 return adoptRefCountedGarbageCollectedWillBeNoop(new RTCDataChannel(context, connection, handler)); 61 RTCDataChannel* RTCDataChannel::create(ExecutionContext* context, RTCPeerConnection* connection, WebRTCPeerConnectionHandler* peerConnectionHandler, const String& label, const WebRTCDataChannelInit& init, ExceptionState& exceptionState) 65 exceptionState.throwDOMException(NotSupportedError, "RTCDataChannel is not supported"); 68 return adoptRefCountedGarbageCollectedWillBeNoop(new RTCDataChannel(context, connection, handler.release())); 71 RTCDataChannel function in class:blink::RTCDataChannel [all...] |