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

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

Issue 1029093003: [WIP] IDL: Add limited serializer support and use for RTCIceCandidate (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: use V8ObjectBuilder in modules/crypto 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..99546806cef2a657bb72ecb29843e34aa4061a49 100644
--- a/Source/modules/mediastream/RTCIceCandidate.h
+++ b/Source/modules/mediastream/RTCIceCandidate.h
@@ -39,6 +39,7 @@ namespace blink {
class RTCIceCandidateInit;
class ExceptionState;
+class V8ObjectBuilder;
class RTCIceCandidate final : public GarbageCollectedFinalized<RTCIceCandidate>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
@@ -53,6 +54,8 @@ public:
unsigned short sdpMLineIndex() const;
void setSdpMLineIndex(unsigned short);
+ void toJSONForBinding(V8ObjectBuilder& result);
+
WebRTCICECandidate webCandidate() const;
DEFINE_INLINE_TRACE() { }

Powered by Google App Engine
This is Rietveld 408576698