| Index: Source/platform/exported/WebRTCICECandidate.cpp
|
| diff --git a/Source/platform/exported/WebRTCICECandidate.cpp b/Source/platform/exported/WebRTCICECandidate.cpp
|
| index 2013c86a57ddf17364d812b36e13f98d66965c5b..7788fe5fecba5939680fe628d569c0de19c28435 100644
|
| --- a/Source/platform/exported/WebRTCICECandidate.cpp
|
| +++ b/Source/platform/exported/WebRTCICECandidate.cpp
|
| @@ -48,6 +48,10 @@ public:
|
| const WebString& sdpMid() const { return m_sdpMid; }
|
| unsigned short sdpMLineIndex() const { return m_sdpMLineIndex; }
|
|
|
| + BLINK_PLATFORM_EXPORT void setCandidate(WebString candidate) { m_candidate = candidate; }
|
| + BLINK_PLATFORM_EXPORT void setSdpMid(WebString sdpMid) { m_sdpMid = sdpMid; }
|
| + BLINK_PLATFORM_EXPORT void setSdpMLineIndex(unsigned short sdpMLineIndex) { m_sdpMLineIndex = sdpMLineIndex; }
|
| +
|
| private:
|
| WebRTCICECandidatePrivate(const WebString& candidate, const WebString& sdpMid, unsigned short sdpMLineIndex);
|
|
|
| @@ -96,4 +100,22 @@ unsigned short WebRTCICECandidate::sdpMLineIndex() const
|
| return m_private->sdpMLineIndex();
|
| }
|
|
|
| +void WebRTCICECandidate::setCandidate(WebString candidate)
|
| +{
|
| + ASSERT(!m_private.isNull());
|
| + m_private->setCandidate(candidate);
|
| +}
|
| +
|
| +void WebRTCICECandidate::setSdpMid(WebString sdpMid)
|
| +{
|
| + ASSERT(!m_private.isNull());
|
| + m_private->setSdpMid(sdpMid);
|
| +}
|
| +
|
| +void WebRTCICECandidate::setSdpMLineIndex(unsigned short sdpMLineIndex)
|
| +{
|
| + ASSERT(!m_private.isNull());
|
| + m_private->setSdpMLineIndex(sdpMLineIndex);
|
| +}
|
| +
|
| } // namespace blink
|
|
|