summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/WebKit/Source/modules/mediastream/RTCIceCandidate.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/modules/mediastream/RTCIceCandidate.h')
-rw-r--r--chromium/third_party/WebKit/Source/modules/mediastream/RTCIceCandidate.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/chromium/third_party/WebKit/Source/modules/mediastream/RTCIceCandidate.h b/chromium/third_party/WebKit/Source/modules/mediastream/RTCIceCandidate.h
index 9d934055751..5eecfc12850 100644
--- a/chromium/third_party/WebKit/Source/modules/mediastream/RTCIceCandidate.h
+++ b/chromium/third_party/WebKit/Source/modules/mediastream/RTCIceCandidate.h
@@ -43,16 +43,21 @@ namespace WebCore {
class Dictionary;
class ExceptionState;
-class RTCIceCandidate FINAL : public RefCounted<RTCIceCandidate>, public ScriptWrappable {
+class RTCIceCandidate FINAL : public RefCountedWillBeGarbageCollectedFinalized<RTCIceCandidate>, public ScriptWrappable {
public:
- static PassRefPtr<RTCIceCandidate> create(const Dictionary&, ExceptionState&);
- static PassRefPtr<RTCIceCandidate> create(blink::WebRTCICECandidate);
+ static PassRefPtrWillBeRawPtr<RTCIceCandidate> create(const Dictionary&, ExceptionState&);
+ static PassRefPtrWillBeRawPtr<RTCIceCandidate> create(blink::WebRTCICECandidate);
String candidate() const;
+ void setCandidate(String);
String sdpMid() const;
+ void setSdpMid(String);
unsigned short sdpMLineIndex() const;
+ void setSdpMLineIndex(unsigned short);
- blink::WebRTCICECandidate webCandidate();
+ blink::WebRTCICECandidate webCandidate() const;
+
+ void trace(Visitor*) { }
private:
explicit RTCIceCandidate(blink::WebRTCICECandidate);