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

Unified Diff: net/websockets/websocket_throttle_test.cc

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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
« net/base/mime_util_unittest.cc ('K') | « net/websockets/websocket_throttle.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
}
-
}
« net/base/mime_util_unittest.cc ('K') | « net/websockets/websocket_throttle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698