| Index: net/websockets/websocket_throttle_test.cc
|
| diff --git a/net/websockets/websocket_throttle_test.cc b/net/websockets/websocket_throttle_test.cc
|
| index 7b33883744a1c6b38ae9672b860ae2626c5f51e2..cd08cfdb43417f8ca0c04310869002e8836b87ad 100644
|
| --- a/net/websockets/websocket_throttle_test.cc
|
| +++ b/net/websockets/websocket_throttle_test.cc
|
| @@ -20,12 +20,13 @@ class DummySocketStreamDelegate : public net::SocketStream::Delegate {
|
| public:
|
| DummySocketStreamDelegate() {}
|
| virtual ~DummySocketStreamDelegate() {}
|
| - virtual void OnConnected(
|
| - net::SocketStream* socket, int max_pending_send_allowed) OVERRIDE {}
|
| - virtual void OnSentData(net::SocketStream* socket,
|
| - int amount_sent) OVERRIDE {}
|
| + virtual void OnConnected(net::SocketStream* socket,
|
| + int max_pending_send_allowed) OVERRIDE {}
|
| + virtual void OnSentData(net::SocketStream* socket, int amount_sent) OVERRIDE {
|
| + }
|
| virtual void OnReceivedData(net::SocketStream* socket,
|
| - const char* data, int len) OVERRIDE {}
|
| + const char* data,
|
| + int len) OVERRIDE {}
|
| virtual void OnClose(net::SocketStream* socket) OVERRIDE {}
|
| };
|
|
|
| @@ -42,8 +43,8 @@ class WebSocketThrottleTest : public PlatformTest {
|
| return IPEndPoint(ip, 0);
|
| }
|
|
|
| - static void MockSocketStreamConnect(
|
| - SocketStream* socket, const AddressList& list) {
|
| + static void MockSocketStreamConnect(SocketStream* socket,
|
| + const AddressList& list) {
|
| socket->set_addresses(list);
|
| // TODO(toyoshim): We should introduce additional tests on cases via proxy.
|
| socket->proxy_info_.UseDirect();
|
| @@ -344,5 +345,4 @@ TEST_F(WebSocketThrottleTest, NoThrottleForDistinctPort) {
|
| DVLOG(1) << "Done";
|
| base::MessageLoopForIO::current()->RunUntilIdle();
|
| }
|
| -
|
| }
|
|
|