OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/websockets/websocket_stream_create_test_base.h" | 5 #include "net/websockets/websocket_stream_create_test_base.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
| 8 #include "base/macros.h" |
8 #include "net/http/http_request_headers.h" | 9 #include "net/http/http_request_headers.h" |
9 #include "net/http/http_response_headers.h" | 10 #include "net/http/http_response_headers.h" |
10 #include "net/websockets/websocket_basic_handshake_stream.h" | 11 #include "net/websockets/websocket_basic_handshake_stream.h" |
11 #include "net/websockets/websocket_handshake_request_info.h" | 12 #include "net/websockets/websocket_handshake_request_info.h" |
12 #include "net/websockets/websocket_handshake_response_info.h" | 13 #include "net/websockets/websocket_handshake_response_info.h" |
13 #include "net/websockets/websocket_handshake_stream_create_helper.h" | 14 #include "net/websockets/websocket_handshake_stream_create_helper.h" |
14 #include "net/websockets/websocket_stream.h" | 15 #include "net/websockets/websocket_stream.h" |
15 #include "url/gurl.h" | 16 #include "url/gurl.h" |
16 #include "url/origin.h" | 17 #include "url/origin.h" |
17 | 18 |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 | 141 |
141 void WebSocketStreamCreateTestBase::WaitUntilConnectDone() { | 142 void WebSocketStreamCreateTestBase::WaitUntilConnectDone() { |
142 connect_run_loop_.Run(); | 143 connect_run_loop_.Run(); |
143 } | 144 } |
144 | 145 |
145 std::vector<std::string> WebSocketStreamCreateTestBase::NoSubProtocols() { | 146 std::vector<std::string> WebSocketStreamCreateTestBase::NoSubProtocols() { |
146 return std::vector<std::string>(); | 147 return std::vector<std::string>(); |
147 } | 148 } |
148 | 149 |
149 } // namespace net | 150 } // namespace net |
OLD | NEW |