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

Unified Diff: net/websockets/websocket_handshake_stream_create_helper_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
Index: net/websockets/websocket_handshake_stream_create_helper_test.cc
diff --git a/net/websockets/websocket_handshake_stream_create_helper_test.cc b/net/websockets/websocket_handshake_stream_create_helper_test.cc
index 652f1bcad6bd71771913a13efb12df77279627dc..e5819f1a6cf1cc33fa0f54c28717af15828c9a26 100644
--- a/net/websockets/websocket_handshake_stream_create_helper_test.cc
+++ b/net/websockets/websocket_handshake_stream_create_helper_test.cc
@@ -39,13 +39,12 @@ class MockClientSocketHandleFactory {
const std::string& return_to_read) {
socket_factory_maker_.SetExpectations(expect_written, return_to_read);
scoped_ptr<ClientSocketHandle> socket_handle(new ClientSocketHandle);
- socket_handle->Init(
- "a",
- scoped_refptr<MockTransportSocketParams>(),
- MEDIUM,
- CompletionCallback(),
- &pool_,
- BoundNetLog());
+ socket_handle->Init("a",
+ scoped_refptr<MockTransportSocketParams>(),
+ MEDIUM,
+ CompletionCallback(),
+ &pool_,
+ BoundNetLog());
return socket_handle.Pass();
}
@@ -138,9 +137,12 @@ class WebSocketHandshakeStreamCreateHelperTest : public ::testing::Test {
// Confirm that the basic case works as expected.
TEST_F(WebSocketHandshakeStreamCreateHelperTest, BasicStream) {
scoped_ptr<WebSocketStream> stream =
- CreateAndInitializeStream("ws://localhost/", "/",
- std::vector<std::string>(), "http://localhost/",
- "", "");
+ CreateAndInitializeStream("ws://localhost/",
+ "/",
+ std::vector<std::string>(),
+ "http://localhost/",
+ "",
+ "");
EXPECT_EQ("", stream->GetExtensions());
EXPECT_EQ("", stream->GetSubProtocol());
}

Powered by Google App Engine
This is Rietveld 408576698