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; |