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

Unified Diff: Source/modules/mediastream/RTCDataChannel.h

Issue 19724003: Revert "Transition modules/** to use ExceptionState" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 months 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/mediastream/RTCDTMFSender.cpp ('k') | Source/modules/mediastream/RTCDataChannel.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « Source/modules/mediastream/RTCDTMFSender.cpp ('k') | Source/modules/mediastream/RTCDataChannel.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698