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

Unified Diff: Source/modules/mediastream/RTCSessionDescription.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
Index: Source/modules/mediastream/RTCSessionDescription.h
diff --git a/Source/modules/mediastream/RTCSessionDescription.h b/Source/modules/mediastream/RTCSessionDescription.h
index cffeb7e52de113fb28e66f78adbfab394cecbb83..24d5799f814085cbdc9bab8705a47a9ba46579ad 100644
--- a/Source/modules/mediastream/RTCSessionDescription.h
+++ b/Source/modules/mediastream/RTCSessionDescription.h
@@ -32,6 +32,7 @@
#define RTCSessionDescription_h
#include "bindings/v8/ScriptWrappable.h"
+#include "core/dom/ExceptionCode.h"
#include "wtf/PassRefPtr.h"
#include "wtf/RefCounted.h"
#include "wtf/text/WTFString.h"
@@ -40,19 +41,20 @@
namespace WebCore {
class Dictionary;
-class ExceptionState;
+
+typedef int ExceptionCode;
class RTCSessionDescription : public RefCounted<RTCSessionDescription>, public ScriptWrappable {
public:
- static PassRefPtr<RTCSessionDescription> create(const Dictionary&, ExceptionState&);
+ static PassRefPtr<RTCSessionDescription> create(const Dictionary&, ExceptionCode&);
static PassRefPtr<RTCSessionDescription> create(WebKit::WebRTCSessionDescription);
virtual ~RTCSessionDescription();
String type();
- void setType(const String&, ExceptionState&);
+ void setType(const String&, ExceptionCode&);
String sdp();
- void setSdp(const String&, ExceptionState&);
+ void setSdp(const String&, ExceptionCode&);
WebKit::WebRTCSessionDescription webSessionDescription();
« no previous file with comments | « Source/modules/mediastream/RTCPeerConnection.cpp ('k') | Source/modules/mediastream/RTCSessionDescription.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698