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 <string> | 11 #include <string> |
12 | 12 |
13 #include "base/command_line.h" | 13 #include "base/command_line.h" |
14 #include "base/containers/hash_tables.h" | 14 #include "base/containers/hash_tables.h" |
15 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
16 #include "net/base/ip_endpoint.h" | 16 #include "net/base/ip_endpoint.h" |
17 #include "net/quic/crypto/crypto_handshake.h" | 17 #include "net/quic/crypto/crypto_handshake.h" |
18 #include "net/quic/quic_config.h" | 18 #include "net/quic/quic_config.h" |
19 #include "net/quic/quic_framer.h" | 19 #include "net/quic/quic_framer.h" |
20 #include "net/quic/quic_packet_creator.h" | 20 #include "net/quic/quic_packet_creator.h" |
21 #include "net/tools/flip_server/epoll_server.h" | 21 #include "net/tools/epoll_server/epoll_server.h" |
22 #include "net/tools/quic/quic_client_session.h" | 22 #include "net/tools/quic/quic_client_session.h" |
23 #include "net/tools/quic/quic_reliable_client_stream.h" | 23 #include "net/tools/quic/quic_reliable_client_stream.h" |
24 | 24 |
25 namespace net { | 25 namespace net { |
26 | 26 |
27 class ProofVerifier; | 27 class ProofVerifier; |
28 | 28 |
29 namespace tools { | 29 namespace tools { |
30 | 30 |
31 class QuicEpollConnectionHelper; | 31 class QuicEpollConnectionHelper; |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 // Which QUIC version does this client talk? | 190 // Which QUIC version does this client talk? |
191 QuicVersion version_; | 191 QuicVersion version_; |
192 | 192 |
193 DISALLOW_COPY_AND_ASSIGN(QuicClient); | 193 DISALLOW_COPY_AND_ASSIGN(QuicClient); |
194 }; | 194 }; |
195 | 195 |
196 } // namespace tools | 196 } // namespace tools |
197 } // namespace net | 197 } // namespace net |
198 | 198 |
199 #endif // NET_TOOLS_QUIC_QUIC_CLIENT_H_ | 199 #endif // NET_TOOLS_QUIC_QUIC_CLIENT_H_ |
OLD | NEW |