| Index: Source/modules/mediastream/RTCDataChannel.h
|
| diff --git a/Source/modules/mediastream/RTCDataChannel.h b/Source/modules/mediastream/RTCDataChannel.h
|
| index fa32551b89504cb898e23010174cc45d71880c04..1559d2cc7c3febbdaf187948b2e3da4bc4a6b4fe 100644
|
| --- a/Source/modules/mediastream/RTCDataChannel.h
|
| +++ b/Source/modules/mediastream/RTCDataChannel.h
|
| @@ -38,14 +38,13 @@ struct WebRTCDataChannelInit;
|
| namespace WebCore {
|
|
|
| class Blob;
|
| -class ExceptionState;
|
| class RTCDataChannelHandler;
|
| class RTCPeerConnectionHandler;
|
|
|
| class RTCDataChannel : public RefCounted<RTCDataChannel>, public ScriptWrappable, public EventTarget, public RTCDataChannelHandlerClient {
|
| public:
|
| static PassRefPtr<RTCDataChannel> create(ScriptExecutionContext*, PassOwnPtr<RTCDataChannelHandler>);
|
| - static PassRefPtr<RTCDataChannel> create(ScriptExecutionContext*, RTCPeerConnectionHandler*, const String& label, const WebKit::WebRTCDataChannelInit&, ExceptionState&);
|
| + static PassRefPtr<RTCDataChannel> create(ScriptExecutionContext*, RTCPeerConnectionHandler*, const String& label, const WebKit::WebRTCDataChannelInit&, ExceptionCode&);
|
| ~RTCDataChannel();
|
|
|
| String label() const;
|
| @@ -54,12 +53,12 @@ public:
|
| unsigned long bufferedAmount() const;
|
|
|
| String binaryType() const;
|
| - void setBinaryType(const String&, ExceptionState&);
|
| + void setBinaryType(const String&, ExceptionCode&);
|
|
|
| - void send(const String&, ExceptionState&);
|
| - void send(PassRefPtr<ArrayBuffer>, ExceptionState&);
|
| - void send(PassRefPtr<ArrayBufferView>, ExceptionState&);
|
| - void send(PassRefPtr<Blob>, ExceptionState&);
|
| + void send(const String&, ExceptionCode&);
|
| + void send(PassRefPtr<ArrayBuffer>, ExceptionCode&);
|
| + void send(PassRefPtr<ArrayBufferView>, ExceptionCode&);
|
| + void send(PassRefPtr<Blob>, ExceptionCode&);
|
|
|
| void close();
|
|
|
|
|