OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 server, which listens on a specified address for QUIC traffic and | 5 // A toy server, which listens on a specified address for QUIC traffic and |
6 // handles incoming responses. | 6 // handles incoming responses. |
7 | 7 |
8 #ifndef NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_H_ | 8 #ifndef NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_H_ |
9 #define NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_H_ | 9 #define NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_H_ |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "net/base/io_buffer.h" | 13 #include "net/base/io_buffer.h" |
14 #include "net/base/ip_endpoint.h" | 14 #include "net/base/ip_endpoint.h" |
15 #include "net/log/net_log.h" | 15 #include "net/log/net_log.h" |
16 #include "net/quic/crypto/quic_crypto_server_config.h" | 16 #include "net/quic/crypto/quic_crypto_server_config.h" |
17 #include "net/quic/quic_clock.h" | 17 #include "net/quic/quic_clock.h" |
18 #include "net/quic/quic_config.h" | 18 #include "net/quic/quic_config.h" |
19 #include "net/quic/quic_connection_helper.h" | 19 #include "net/quic/quic_connection_helper.h" |
20 | 20 |
21 namespace net { | 21 namespace net { |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 | 110 |
111 base::WeakPtrFactory<QuicSimpleServer> weak_factory_; | 111 base::WeakPtrFactory<QuicSimpleServer> weak_factory_; |
112 | 112 |
113 DISALLOW_COPY_AND_ASSIGN(QuicSimpleServer); | 113 DISALLOW_COPY_AND_ASSIGN(QuicSimpleServer); |
114 }; | 114 }; |
115 | 115 |
116 } // namespace tools | 116 } // namespace tools |
117 } // namespace net | 117 } // namespace net |
118 | 118 |
119 #endif // NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_H_ | 119 #endif // NET_QUIC_TOOLS_QUIC_SIMPLE_SERVER_H_ |
OLD | NEW |