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

Unified Diff: public/platform/WebRTCDataChannelHandler.h

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
« no previous file with comments | « Tools/DumpRenderTree/chromium/TestRunner/src/MockWebRTCDataChannelHandler.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebRTCDataChannelHandler.h
diff --git a/public/platform/WebRTCDataChannelHandler.h b/public/platform/WebRTCDataChannelHandler.h
index 211d8ac96e06b1932d4a5d7d709faabd02cfb17b..65ad01bf2d4ed408c1064aaf899ef57a5cccab52 100644
--- a/public/platform/WebRTCDataChannelHandler.h
+++ b/public/platform/WebRTCDataChannelHandler.h
@@ -39,7 +39,17 @@ public:
virtual void setClient(WebRTCDataChannelHandlerClient*) = 0;
virtual WebString label() = 0;
- virtual bool isReliable() = 0;
+
+ // DEPRECATED
+ virtual bool isReliable() { return true; }
+
+ virtual bool ordered() const { return false; }
+ virtual unsigned short maxRetransmitTime() const { return 0; }
+ virtual unsigned short maxRetransmits() const { return 0; }
+ virtual WebString protocol() const { return WebString(); }
+ virtual bool negotiated() const { return true; }
+ virtual unsigned short id() const { return 0; }
+
virtual unsigned long bufferedAmount() = 0;
virtual bool sendStringData(const WebString&) = 0;
virtual bool sendRawData(const char*, size_t) = 0;
« no previous file with comments | « Tools/DumpRenderTree/chromium/TestRunner/src/MockWebRTCDataChannelHandler.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698