Update talk to 50918584. Together with Stefan's http://review.webrtc.org/1960004/. R=mallinath@webrtc.org Review URL: https://webrtc-codereview.appspot.com/2048004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4556 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/talk/app/webrtc/datachannelinterface.h b/talk/app/webrtc/datachannelinterface.h index 82d375c..7be8a50 100644 --- a/talk/app/webrtc/datachannelinterface.h +++ b/talk/app/webrtc/datachannelinterface.h
@@ -110,6 +110,16 @@ // DataChannel object from other DataChannel objects. virtual std::string label() const = 0; virtual bool reliable() const = 0; + + // TODO(tommyw): Remove these dummy implementations when all classes have + // implemented these APIs. They should all just return the values the + // DataChannel was created with. + virtual bool ordered() const { return false; } + virtual uint16 maxRetransmitTime() const { return 0; } + virtual uint16 maxRetransmits() const { return 0; } + virtual std::string protocol() const { return std::string(); } + virtual bool negotiated() const { return false; } + virtual int id() const = 0; virtual DataState state() const = 0; // The buffered_amount returns the number of bytes of application data