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

Unified Diff: Tools/DumpRenderTree/chromium/TestRunner/src/MockWebRTCDataChannelHandler.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
Index: Tools/DumpRenderTree/chromium/TestRunner/src/MockWebRTCDataChannelHandler.h
diff --git a/Tools/DumpRenderTree/chromium/TestRunner/src/MockWebRTCDataChannelHandler.h b/Tools/DumpRenderTree/chromium/TestRunner/src/MockWebRTCDataChannelHandler.h
index e0dea857bcefc2656ac6121f3e735e74c770b7fa..c274930242c5fdf0b137838826ecd6c96ad7e0d2 100644
--- a/Tools/DumpRenderTree/chromium/TestRunner/src/MockWebRTCDataChannelHandler.h
+++ b/Tools/DumpRenderTree/chromium/TestRunner/src/MockWebRTCDataChannelHandler.h
@@ -27,13 +27,10 @@
#include "TestCommon.h"
#include "public/platform/WebRTCDataChannelHandler.h"
+#include "public/platform/WebRTCDataChannelInit.h"
#include "public/platform/WebString.h"
#include "public/testing/WebTask.h"
-namespace WebKit {
-struct WebRTCDataChannelInit;
-}
-
namespace WebTestRunner {
class WebTestDelegate;
@@ -45,6 +42,12 @@ public:
virtual void setClient(WebKit::WebRTCDataChannelHandlerClient*) OVERRIDE;
virtual WebKit::WebString label() OVERRIDE { return m_label; }
virtual bool isReliable() OVERRIDE { return m_reliable; }
+ virtual bool ordered() const OVERRIDE;
+ virtual unsigned short maxRetransmitTime() const OVERRIDE;
+ virtual unsigned short maxRetransmits() const OVERRIDE;
+ virtual WebKit::WebString protocol() const OVERRIDE;
+ virtual bool negotiated() const OVERRIDE;
+ virtual unsigned short id() const OVERRIDE;
virtual unsigned long bufferedAmount() OVERRIDE;
virtual bool sendStringData(const WebKit::WebString&) OVERRIDE;
virtual bool sendRawData(const char*, size_t) OVERRIDE;
@@ -58,6 +61,7 @@ private:
WebKit::WebRTCDataChannelHandlerClient* m_client;
WebKit::WebString m_label;
+ WebKit::WebRTCDataChannelInit m_init;
bool m_reliable;
WebTaskList m_taskList;
WebTestDelegate* m_delegate;

Powered by Google App Engine
This is Rietveld 408576698