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

Unified Diff: Source/core/platform/mediastream/RTCDataChannelHandler.cpp

Issue 21350002: MediaStream API: Update RTCDataChannel to match the specification (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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/core/platform/mediastream/RTCDataChannelHandler.cpp
diff --git a/Source/core/platform/mediastream/RTCDataChannelHandler.cpp b/Source/core/platform/mediastream/RTCDataChannelHandler.cpp
index adc6fbf65d1bedaecbb5bac037f4a607c6ce3e0c..cd3d749b7ec5ce950d6bd644ee7ed28bf49647bd 100644
--- a/Source/core/platform/mediastream/RTCDataChannelHandler.cpp
+++ b/Source/core/platform/mediastream/RTCDataChannelHandler.cpp
@@ -53,16 +53,46 @@ void RTCDataChannelHandler::setClient(RTCDataChannelHandlerClient* client)
m_webHandler->setClient(m_client ? this : 0);
}
-String RTCDataChannelHandler::label()
+String RTCDataChannelHandler::label() const
{
return m_webHandler->label();
}
-bool RTCDataChannelHandler::isReliable()
+bool RTCDataChannelHandler::isReliable() const
{
return m_webHandler->isReliable();
}
+bool RTCDataChannelHandler::ordered() const
+{
+ return m_webHandler->ordered();
+}
+
+unsigned short RTCDataChannelHandler::maxRetransmitTime() const
+{
+ return m_webHandler->maxRetransmitTime();
+}
+
+unsigned short RTCDataChannelHandler::maxRetransmits() const
+{
+ return m_webHandler->maxRetransmits();
+}
+
+String RTCDataChannelHandler::protocol() const
+{
+ return m_webHandler->protocol();
+}
+
+bool RTCDataChannelHandler::negotiated() const
+{
+ return m_webHandler->negotiated();
+}
+
+unsigned short RTCDataChannelHandler::id() const
+{
+ return m_webHandler->id();
+}
+
unsigned long RTCDataChannelHandler::bufferedAmount()
{
return m_webHandler->bufferedAmount();
« no previous file with comments | « Source/core/platform/mediastream/RTCDataChannelHandler.h ('k') | Source/modules/mediastream/RTCDataChannel.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698