OLD | NEW |
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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 base class for the toy client, which connects to a specified port and sends | 5 // A base class for the toy client, which connects to a specified port and sends |
6 // QUIC request to that endpoint. | 6 // QUIC request to that endpoint. |
7 | 7 |
8 #ifndef NET_TOOLS_QUIC_QUIC_CLIENT_BASE_H_ | 8 #ifndef NET_TOOLS_QUIC_QUIC_CLIENT_BASE_H_ |
9 #define NET_TOOLS_QUIC_QUIC_CLIENT_BASE_H_ | 9 #define NET_TOOLS_QUIC_QUIC_CLIENT_BASE_H_ |
10 | 10 |
11 #include <memory> | 11 #include <memory> |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "net/base/ip_endpoint.h" | 15 #include "net/base/ip_endpoint.h" |
16 #include "net/log/net_log.h" | 16 #include "net/log/net_log.h" |
17 #include "net/quic/crypto/crypto_handshake.h" | 17 #include "net/quic/core/crypto/crypto_handshake.h" |
18 #include "net/quic/crypto/quic_crypto_client_config.h" | 18 #include "net/quic/core/crypto/quic_crypto_client_config.h" |
19 #include "net/quic/quic_alarm_factory.h" | 19 #include "net/quic/core/quic_alarm_factory.h" |
20 #include "net/quic/quic_bandwidth.h" | 20 #include "net/quic/core/quic_bandwidth.h" |
21 #include "net/quic/quic_client_push_promise_index.h" | 21 #include "net/quic/core/quic_client_push_promise_index.h" |
22 #include "net/quic/quic_config.h" | 22 #include "net/quic/core/quic_config.h" |
23 #include "net/quic/quic_connection.h" | 23 #include "net/quic/core/quic_connection.h" |
24 #include "net/quic/quic_packet_writer.h" | 24 #include "net/quic/core/quic_packet_writer.h" |
25 #include "net/quic/quic_protocol.h" | 25 #include "net/quic/core/quic_protocol.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_spdy_client_stream.h" | 27 #include "net/tools/quic/quic_spdy_client_stream.h" |
28 | 28 |
29 namespace net { | 29 namespace net { |
30 | 30 |
31 class ProofVerifier; | 31 class ProofVerifier; |
32 class QuicServerId; | 32 class QuicServerId; |
33 | 33 |
34 class QuicClientBase { | 34 class QuicClientBase { |
35 public: | 35 public: |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 bool connected_or_attempting_connect_; | 248 bool connected_or_attempting_connect_; |
249 | 249 |
250 QuicClientPushPromiseIndex push_promise_index_; | 250 QuicClientPushPromiseIndex push_promise_index_; |
251 | 251 |
252 DISALLOW_COPY_AND_ASSIGN(QuicClientBase); | 252 DISALLOW_COPY_AND_ASSIGN(QuicClientBase); |
253 }; | 253 }; |
254 | 254 |
255 } // namespace net | 255 } // namespace net |
256 | 256 |
257 #endif // NET_TOOLS_QUIC_QUIC_CLIENT_BASE_H_ | 257 #endif // NET_TOOLS_QUIC_QUIC_CLIENT_BASE_H_ |
OLD | NEW |