| Index: content/shell/renderer/test_runner/mock_webrtc_data_channel_handler.h
|
| diff --git a/content/shell/renderer/test_runner/mock_webrtc_data_channel_handler.h b/content/shell/renderer/test_runner/mock_webrtc_data_channel_handler.h
|
| index 997215f4f0307aec08542e3674528526f4db5138..7262ae217da6e877dd538f84ed55546765b87240 100644
|
| --- a/content/shell/renderer/test_runner/mock_webrtc_data_channel_handler.h
|
| +++ b/content/shell/renderer/test_runner/mock_webrtc_data_channel_handler.h
|
| @@ -19,10 +19,12 @@ class WebTestDelegate;
|
| class MockWebRTCDataChannelHandler : public blink::WebRTCDataChannelHandler {
|
| public:
|
| MockWebRTCDataChannelHandler(blink::WebString label,
|
| - const blink::WebRTCDataChannelInit&,
|
| - WebTestDelegate*);
|
| + const blink::WebRTCDataChannelInit& init,
|
| + WebTestDelegate* delegate);
|
|
|
| - virtual void setClient(blink::WebRTCDataChannelHandlerClient*) OVERRIDE;
|
| + // WebRTCDataChannelHandler related methods
|
| + virtual void setClient(
|
| + blink::WebRTCDataChannelHandlerClient* client) OVERRIDE;
|
| virtual blink::WebString label() OVERRIDE;
|
| virtual bool isReliable() OVERRIDE;
|
| virtual bool ordered() const OVERRIDE;
|
| @@ -32,8 +34,8 @@ class MockWebRTCDataChannelHandler : public blink::WebRTCDataChannelHandler {
|
| virtual bool negotiated() const OVERRIDE;
|
| virtual unsigned short id() const OVERRIDE;
|
| virtual unsigned long bufferedAmount() OVERRIDE;
|
| - virtual bool sendStringData(const blink::WebString&) OVERRIDE;
|
| - virtual bool sendRawData(const char*, size_t) OVERRIDE;
|
| + virtual bool sendStringData(const blink::WebString& data) OVERRIDE;
|
| + virtual bool sendRawData(const char* data, size_t size) OVERRIDE;
|
| virtual void close() OVERRIDE;
|
|
|
| // WebTask related methods
|
|
|