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

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

Issue 1033983002: Add serializers to RTCIceCandidate and RTCSessionDescription (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@idl-serializer
Patch Set: fix global-interface-listing expectation Created 5 years, 9 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 56e2f5596f44f3d87ebe6a1cb411ae25ca11b53c..2ef5d77cf9e5c3273e5746f9ec1f4dbda533ac65 100644
--- a/Source/modules/mediastream/RTCSessionDescription.h
+++ b/Source/modules/mediastream/RTCSessionDescription.h
@@ -38,6 +38,8 @@
namespace blink {
class RTCSessionDescriptionInit;
+class ScriptState;
+class ScriptValue;
class RTCSessionDescription final : public GarbageCollectedFinalized<RTCSessionDescription>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
@@ -51,6 +53,8 @@ public:
String sdp();
void setSdp(const String&);
+ ScriptValue toJSONForBinding(ScriptState*);
+
WebRTCSessionDescription webSessionDescription();
DEFINE_INLINE_TRACE() { }
« no previous file with comments | « Source/modules/mediastream/RTCIceCandidate.idl ('k') | Source/modules/mediastream/RTCSessionDescription.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698