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

Unified Diff: Source/modules/mediastream/RTCIceCandidate.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/RTCIceCandidate.h
diff --git a/Source/modules/mediastream/RTCIceCandidate.h b/Source/modules/mediastream/RTCIceCandidate.h
index d673838d09a1ef04eaf51db21ced05d281cd2b70..e1229b5e10d8b4dfdd482fcdb9e8a67e1bd49eca 100644
--- a/Source/modules/mediastream/RTCIceCandidate.h
+++ b/Source/modules/mediastream/RTCIceCandidate.h
@@ -39,6 +39,8 @@ namespace blink {
class RTCIceCandidateInit;
class ExceptionState;
+class ScriptState;
+class ScriptValue;
class RTCIceCandidate final : public GarbageCollectedFinalized<RTCIceCandidate>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
@@ -53,6 +55,8 @@ public:
unsigned short sdpMLineIndex() const;
void setSdpMLineIndex(unsigned short);
+ ScriptValue toJSONForBinding(ScriptState*);
+
WebRTCICECandidate webCandidate() const;
DEFINE_INLINE_TRACE() { }
« no previous file with comments | « LayoutTests/webexposed/global-interface-listing-expected.txt ('k') | Source/modules/mediastream/RTCIceCandidate.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698