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

Unified Diff: content/shell/renderer/test_runner/mock_webrtc_data_channel_handler.h

Issue 316093005: test_runner: Migrate MockWebRTCPeerConnectionHandler to Chromium C++ style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 6 years, 6 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: 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

Powered by Google App Engine
This is Rietveld 408576698