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 // A toy client, which connects to a specified port and sends QUIC | 5 // A toy client, which connects to a specified port and sends QUIC |
6 // request to that endpoint. | 6 // request to that endpoint. |
7 | 7 |
8 #ifndef NET_TOOLS_QUIC_QUIC_CLIENT_H_ | 8 #ifndef NET_TOOLS_QUIC_QUIC_CLIENT_H_ |
9 #define NET_TOOLS_QUIC_QUIC_CLIENT_H_ | 9 #define NET_TOOLS_QUIC_QUIC_CLIENT_H_ |
10 | 10 |
11 #include <cstdint> | 11 #include <cstdint> |
12 #include <memory> | 12 #include <memory> |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "base/command_line.h" | 15 #include "base/command_line.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/strings/string_piece.h" | 17 #include "base/strings/string_piece.h" |
18 #include "net/base/ip_address.h" | 18 #include "net/base/ip_address.h" |
19 #include "net/base/ip_endpoint.h" | 19 #include "net/base/ip_endpoint.h" |
20 #include "net/quic/quic_client_push_promise_index.h" | 20 #include "net/quic/core/quic_client_push_promise_index.h" |
21 #include "net/quic/quic_config.h" | 21 #include "net/quic/core/quic_config.h" |
22 #include "net/quic/quic_spdy_stream.h" | 22 #include "net/quic/core/quic_spdy_stream.h" |
23 #include "net/tools/balsa/balsa_headers.h" | 23 #include "net/tools/balsa/balsa_headers.h" |
24 #include "net/tools/epoll_server/epoll_server.h" | 24 #include "net/tools/epoll_server/epoll_server.h" |
25 #include "net/tools/quic/quic_client_base.h" | 25 #include "net/tools/quic/quic_client_base.h" |
26 #include "net/tools/quic/quic_client_session.h" | 26 #include "net/tools/quic/quic_client_session.h" |
27 #include "net/tools/quic/quic_packet_reader.h" | 27 #include "net/tools/quic/quic_packet_reader.h" |
28 #include "net/tools/quic/quic_process_packet_interface.h" | 28 #include "net/tools/quic/quic_process_packet_interface.h" |
29 | 29 |
30 namespace net { | 30 namespace net { |
31 | 31 |
32 class QuicServerId; | 32 class QuicServerId; |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 std::unique_ptr<QuicPacketReader> packet_reader_; | 305 std::unique_ptr<QuicPacketReader> packet_reader_; |
306 | 306 |
307 std::unique_ptr<ClientQuicDataToResend> push_promise_data_to_resend_; | 307 std::unique_ptr<ClientQuicDataToResend> push_promise_data_to_resend_; |
308 | 308 |
309 DISALLOW_COPY_AND_ASSIGN(QuicClient); | 309 DISALLOW_COPY_AND_ASSIGN(QuicClient); |
310 }; | 310 }; |
311 | 311 |
312 } // namespace net | 312 } // namespace net |
313 | 313 |
314 #endif // NET_TOOLS_QUIC_QUIC_CLIENT_H_ | 314 #endif // NET_TOOLS_QUIC_QUIC_CLIENT_H_ |
OLD | NEW |