OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <stddef.h> | 5 #include <stddef.h> |
6 #include <sys/epoll.h> | 6 #include <sys/epoll.h> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/singleton.h" | 11 #include "base/memory/singleton.h" |
12 #include "base/strings/string_number_conversions.h" | 12 #include "base/strings/string_number_conversions.h" |
13 #include "base/synchronization/waitable_event.h" | 13 #include "base/synchronization/waitable_event.h" |
14 #include "base/threading/platform_thread.h" | 14 #include "base/threading/platform_thread.h" |
15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
16 #include "net/base/ip_endpoint.h" | 16 #include "net/base/ip_endpoint.h" |
17 #include "net/quic/congestion_control/tcp_cubic_sender.h" | 17 #include "net/quic/congestion_control/tcp_cubic_sender.h" |
18 #include "net/quic/crypto/aes_128_gcm_12_encrypter.h" | 18 #include "net/quic/crypto/aes_128_gcm_12_encrypter.h" |
19 #include "net/quic/crypto/null_encrypter.h" | 19 #include "net/quic/crypto/null_encrypter.h" |
| 20 #include "net/quic/quic_client_session_base.h" |
20 #include "net/quic/quic_flags.h" | 21 #include "net/quic/quic_flags.h" |
21 #include "net/quic/quic_framer.h" | 22 #include "net/quic/quic_framer.h" |
22 #include "net/quic/quic_packet_creator.h" | 23 #include "net/quic/quic_packet_creator.h" |
23 #include "net/quic/quic_protocol.h" | 24 #include "net/quic/quic_protocol.h" |
24 #include "net/quic/quic_server_id.h" | 25 #include "net/quic/quic_server_id.h" |
25 #include "net/quic/quic_session.h" | 26 #include "net/quic/quic_session.h" |
26 #include "net/quic/quic_utils.h" | 27 #include "net/quic/quic_utils.h" |
27 #include "net/quic/test_tools/crypto_test_utils.h" | 28 #include "net/quic/test_tools/crypto_test_utils.h" |
28 #include "net/quic/test_tools/quic_connection_peer.h" | 29 #include "net/quic/test_tools/quic_connection_peer.h" |
29 #include "net/quic/test_tools/quic_flow_controller_peer.h" | 30 #include "net/quic/test_tools/quic_flow_controller_peer.h" |
(...skipping 2197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2227 string expected_body = "This is server push response body for " + url; | 2228 string expected_body = "This is server push response body for " + url; |
2228 string response_body = client_->SendSynchronousRequest(url); | 2229 string response_body = client_->SendSynchronousRequest(url); |
2229 DVLOG(1) << "response body " << response_body; | 2230 DVLOG(1) << "response body " << response_body; |
2230 EXPECT_EQ(expected_body, response_body); | 2231 EXPECT_EQ(expected_body, response_body); |
2231 } | 2232 } |
2232 } | 2233 } |
2233 | 2234 |
2234 } // namespace | 2235 } // namespace |
2235 } // namespace test | 2236 } // namespace test |
2236 } // namespace net | 2237 } // namespace net |
OLD | NEW |