OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_handshake_stream_create_helper.h" | 5 #include "net/websockets/websocket_handshake_stream_create_helper.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
| 10 #include "base/macros.h" |
10 #include "net/base/completion_callback.h" | 11 #include "net/base/completion_callback.h" |
11 #include "net/base/net_errors.h" | 12 #include "net/base/net_errors.h" |
12 #include "net/http/http_request_headers.h" | 13 #include "net/http/http_request_headers.h" |
13 #include "net/http/http_request_info.h" | 14 #include "net/http/http_request_info.h" |
14 #include "net/http/http_response_headers.h" | 15 #include "net/http/http_response_headers.h" |
15 #include "net/http/http_response_info.h" | 16 #include "net/http/http_response_info.h" |
16 #include "net/socket/client_socket_handle.h" | 17 #include "net/socket/client_socket_handle.h" |
17 #include "net/socket/socket_test_util.h" | 18 #include "net/socket/socket_test_util.h" |
18 #include "net/websockets/websocket_basic_handshake_stream.h" | 19 #include "net/websockets/websocket_basic_handshake_stream.h" |
19 #include "net/websockets/websocket_stream.h" | 20 #include "net/websockets/websocket_stream.h" |
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 | 180 |
180 EXPECT_EQ( | 181 EXPECT_EQ( |
181 "permessage-deflate;" | 182 "permessage-deflate;" |
182 " client_max_window_bits=14; server_max_window_bits=14;" | 183 " client_max_window_bits=14; server_max_window_bits=14;" |
183 " server_no_context_takeover; client_no_context_takeover", | 184 " server_no_context_takeover; client_no_context_takeover", |
184 stream->GetExtensions()); | 185 stream->GetExtensions()); |
185 } | 186 } |
186 | 187 |
187 } // namespace | 188 } // namespace |
188 } // namespace net | 189 } // namespace net |
OLD | NEW |