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

Side by Side Diff: net/spdy/chromium/spdy_test_util_common.cc

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 years, 8 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
« no previous file with comments | « net/spdy/chromium/spdy_test_util_common.h ('k') | net/spdy/chromium/spdy_write_queue.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/spdy/spdy_test_util_common.h" 5 #include "net/spdy/chromium/spdy_test_util_common.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <cstddef> 9 #include <cstddef>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/memory/ptr_util.h" 14 #include "base/memory/ptr_util.h"
15 #include "base/strings/string_number_conversions.h" 15 #include "base/strings/string_number_conversions.h"
16 #include "base/strings/string_split.h" 16 #include "base/strings/string_split.h"
17 #include "net/base/host_port_pair.h" 17 #include "net/base/host_port_pair.h"
18 #include "net/cert/ct_policy_enforcer.h" 18 #include "net/cert/ct_policy_enforcer.h"
19 #include "net/cert/ct_policy_status.h" 19 #include "net/cert/ct_policy_status.h"
20 #include "net/cert/do_nothing_ct_verifier.h" 20 #include "net/cert/do_nothing_ct_verifier.h"
21 #include "net/cert/mock_cert_verifier.h" 21 #include "net/cert/mock_cert_verifier.h"
22 #include "net/cert/signed_certificate_timestamp_and_status.h" 22 #include "net/cert/signed_certificate_timestamp_and_status.h"
23 #include "net/http/http_cache.h" 23 #include "net/http/http_cache.h"
24 #include "net/http/http_network_session.h" 24 #include "net/http/http_network_session.h"
25 #include "net/http/http_network_transaction.h" 25 #include "net/http/http_network_transaction.h"
26 #include "net/http/http_server_properties_impl.h" 26 #include "net/http/http_server_properties_impl.h"
27 #include "net/log/net_log_with_source.h" 27 #include "net/log/net_log_with_source.h"
28 #include "net/socket/client_socket_handle.h" 28 #include "net/socket/client_socket_handle.h"
29 #include "net/socket/next_proto.h" 29 #include "net/socket/next_proto.h"
30 #include "net/socket/socket_test_util.h" 30 #include "net/socket/socket_test_util.h"
31 #include "net/socket/ssl_client_socket.h" 31 #include "net/socket/ssl_client_socket.h"
32 #include "net/socket/transport_client_socket_pool.h" 32 #include "net/socket/transport_client_socket_pool.h"
33 #include "net/spdy/buffered_spdy_framer.h" 33 #include "net/spdy/chromium/buffered_spdy_framer.h"
34 #include "net/spdy/spdy_alt_svc_wire_format.h" 34 #include "net/spdy/chromium/spdy_http_utils.h"
35 #include "net/spdy/spdy_framer.h" 35 #include "net/spdy/chromium/spdy_session.h"
36 #include "net/spdy/spdy_http_utils.h" 36 #include "net/spdy/chromium/spdy_session_pool.h"
37 #include "net/spdy/spdy_session.h" 37 #include "net/spdy/chromium/spdy_stream.h"
38 #include "net/spdy/spdy_session_pool.h" 38 #include "net/spdy/core/spdy_alt_svc_wire_format.h"
39 #include "net/spdy/spdy_stream.h" 39 #include "net/spdy/core/spdy_framer.h"
40 #include "net/test/gtest_util.h" 40 #include "net/test/gtest_util.h"
41 #include "net/url_request/url_request_job_factory_impl.h" 41 #include "net/url_request/url_request_job_factory_impl.h"
42 #include "testing/gmock/include/gmock/gmock.h" 42 #include "testing/gmock/include/gmock/gmock.h"
43 43
44 using net::test::IsOk; 44 using net::test::IsOk;
45 45
46 namespace net { 46 namespace net {
47 47
48 namespace { 48 namespace {
49 49
(...skipping 1111 matching lines...) Expand 10 before | Expand all | Expand 10 after
1161 headers[GetSchemeKey()] = scheme.c_str(); 1161 headers[GetSchemeKey()] = scheme.c_str();
1162 headers[GetPathKey()] = path.c_str(); 1162 headers[GetPathKey()] = path.c_str();
1163 if (content_length) { 1163 if (content_length) {
1164 SpdyString length_str = base::Int64ToString(*content_length); 1164 SpdyString length_str = base::Int64ToString(*content_length);
1165 headers["content-length"] = length_str; 1165 headers["content-length"] = length_str;
1166 } 1166 }
1167 return headers; 1167 return headers;
1168 } 1168 }
1169 1169
1170 } // namespace net 1170 } // namespace net
OLDNEW
« no previous file with comments | « net/spdy/chromium/spdy_test_util_common.h ('k') | net/spdy/chromium/spdy_write_queue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698