Index: net/websockets/websocket_test_util.cc |
diff --git a/net/websockets/websocket_test_util.cc b/net/websockets/websocket_test_util.cc |
index 76057805a73be54e8531b1ac0c535b523cb307a7..1f5550a68994f11c93945e36451b3e951f7c2f22 100644 |
--- a/net/websockets/websocket_test_util.cc |
+++ b/net/websockets/websocket_test_util.cc |
@@ -23,7 +23,8 @@ const uint64 kM = static_cast<uint64>(1) << 48; |
} // namespace |
LinearCongruentialGenerator::LinearCongruentialGenerator(uint32 seed) |
- : current_(seed) {} |
+ : current_(seed) { |
+} |
uint32 LinearCongruentialGenerator::Generate() { |
uint64 result = current_; |
@@ -78,10 +79,12 @@ struct WebSocketDeterministicMockClientSocketFactoryMaker::Detail { |
WebSocketDeterministicMockClientSocketFactoryMaker:: |
WebSocketDeterministicMockClientSocketFactoryMaker() |
- : detail_(new Detail) {} |
+ : detail_(new Detail) { |
+} |
WebSocketDeterministicMockClientSocketFactoryMaker:: |
- ~WebSocketDeterministicMockClientSocketFactoryMaker() {} |
+ ~WebSocketDeterministicMockClientSocketFactoryMaker() { |
+} |
DeterministicMockClientSocketFactory* |
WebSocketDeterministicMockClientSocketFactoryMaker::factory() { |
@@ -105,7 +108,8 @@ void WebSocketDeterministicMockClientSocketFactoryMaker::SetExpectations( |
for (size_t place = 0; place < detail_->return_to_read.size(); |
place += kHttpStreamParserBufferSize) { |
detail_->reads.push_back( |
- MockRead(SYNCHRONOUS, detail_->return_to_read.data() + place, |
+ MockRead(SYNCHRONOUS, |
+ detail_->return_to_read.data() + place, |
std::min(detail_->return_to_read.size() - place, |
kHttpStreamParserBufferSize), |
sequence++)); |
@@ -131,7 +135,8 @@ WebSocketTestURLRequestContextHost::WebSocketTestURLRequestContextHost() |
url_request_context_.set_client_socket_factory(maker_.factory()); |
} |
-WebSocketTestURLRequestContextHost::~WebSocketTestURLRequestContextHost() {} |
+WebSocketTestURLRequestContextHost::~WebSocketTestURLRequestContextHost() { |
+} |
void WebSocketTestURLRequestContextHost::SetRawExpectations( |
scoped_ptr<DeterministicSocketData> socket_data) { |