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_SIMPLE_CLIENT_H_ | 8 #ifndef NET_TOOLS_QUIC_QUIC_SIMPLE_CLIENT_H_ |
9 #define NET_TOOLS_QUIC_QUIC_SIMPLE_CLIENT_H_ | 9 #define NET_TOOLS_QUIC_QUIC_SIMPLE_CLIENT_H_ |
10 | 10 |
| 11 #include <stddef.h> |
| 12 |
11 #include <string> | 13 #include <string> |
12 | 14 |
13 #include "base/basictypes.h" | |
14 #include "base/command_line.h" | 15 #include "base/command_line.h" |
| 16 #include "base/macros.h" |
15 #include "base/memory/scoped_ptr.h" | 17 #include "base/memory/scoped_ptr.h" |
16 #include "base/strings/string_piece.h" | 18 #include "base/strings/string_piece.h" |
17 #include "net/base/ip_endpoint.h" | 19 #include "net/base/ip_endpoint.h" |
18 #include "net/http/http_response_headers.h" | 20 #include "net/http/http_response_headers.h" |
19 #include "net/log/net_log.h" | 21 #include "net/log/net_log.h" |
20 #include "net/quic/quic_config.h" | 22 #include "net/quic/quic_config.h" |
21 #include "net/quic/quic_packet_reader.h" | 23 #include "net/quic/quic_packet_reader.h" |
22 #include "net/quic/quic_spdy_stream.h" | 24 #include "net/quic/quic_spdy_stream.h" |
23 #include "net/tools/quic/quic_client_base.h" | 25 #include "net/tools/quic/quic_client_base.h" |
24 | 26 |
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 | 263 |
262 base::WeakPtrFactory<QuicSimpleClient> weak_factory_; | 264 base::WeakPtrFactory<QuicSimpleClient> weak_factory_; |
263 | 265 |
264 DISALLOW_COPY_AND_ASSIGN(QuicSimpleClient); | 266 DISALLOW_COPY_AND_ASSIGN(QuicSimpleClient); |
265 }; | 267 }; |
266 | 268 |
267 } // namespace tools | 269 } // namespace tools |
268 } // namespace net | 270 } // namespace net |
269 | 271 |
270 #endif // NET_TOOLS_QUIC_QUIC_SIMPLE_CLIENT_H_ | 272 #endif // NET_TOOLS_QUIC_QUIC_SIMPLE_CLIENT_H_ |
OLD | NEW |