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

Side by Side Diff: net/websockets/websocket_handshake_stream_create_helper_test.cc

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 years, 2 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 unified diff | Download patch
OLDNEW
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 <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "net/base/completion_callback.h" 12 #include "net/base/completion_callback.h"
13 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
14 #include "net/http/http_request_headers.h" 14 #include "net/http/http_request_headers.h"
15 #include "net/http/http_request_info.h" 15 #include "net/http/http_request_info.h"
16 #include "net/http/http_response_headers.h" 16 #include "net/http/http_response_headers.h"
17 #include "net/http/http_response_info.h" 17 #include "net/http/http_response_info.h"
18 #include "net/log/net_log_with_source.h"
18 #include "net/socket/client_socket_handle.h" 19 #include "net/socket/client_socket_handle.h"
19 #include "net/socket/socket_test_util.h" 20 #include "net/socket/socket_test_util.h"
20 #include "net/test/gtest_util.h" 21 #include "net/test/gtest_util.h"
21 #include "net/websockets/websocket_basic_handshake_stream.h" 22 #include "net/websockets/websocket_basic_handshake_stream.h"
22 #include "net/websockets/websocket_stream.h" 23 #include "net/websockets/websocket_stream.h"
23 #include "net/websockets/websocket_test_util.h" 24 #include "net/websockets/websocket_test_util.h"
24 #include "testing/gmock/include/gmock/gmock.h" 25 #include "testing/gmock/include/gmock/gmock.h"
25 #include "testing/gtest/include/gtest/gtest.h" 26 #include "testing/gtest/include/gtest/gtest.h"
26 #include "url/gurl.h" 27 #include "url/gurl.h"
27 #include "url/origin.h" 28 #include "url/origin.h"
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 196
196 EXPECT_EQ( 197 EXPECT_EQ(
197 "permessage-deflate;" 198 "permessage-deflate;"
198 " client_max_window_bits=14; server_max_window_bits=14;" 199 " client_max_window_bits=14; server_max_window_bits=14;"
199 " server_no_context_takeover; client_no_context_takeover", 200 " server_no_context_takeover; client_no_context_takeover",
200 stream->GetExtensions()); 201 stream->GetExtensions());
201 } 202 }
202 203
203 } // namespace 204 } // namespace
204 } // namespace net 205 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698