| 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 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_TOOLS_QUIC_QUIC_SERVER_H_ | 8 #ifndef NET_TOOLS_QUIC_QUIC_SERVER_H_ |
| 9 #define NET_TOOLS_QUIC_QUIC_SERVER_H_ | 9 #define NET_TOOLS_QUIC_QUIC_SERVER_H_ |
| 10 | 10 |
| 11 #include "base/basictypes.h" |
| 11 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 12 #include "net/base/ip_endpoint.h" | 13 #include "net/base/ip_endpoint.h" |
| 13 #include "net/quic/crypto/quic_crypto_server_config.h" | 14 #include "net/quic/crypto/quic_crypto_server_config.h" |
| 14 #include "net/quic/quic_config.h" | 15 #include "net/quic/quic_config.h" |
| 15 #include "net/quic/quic_framer.h" | 16 #include "net/quic/quic_framer.h" |
| 16 #include "net/tools/epoll_server/epoll_server.h" | 17 #include "net/tools/epoll_server/epoll_server.h" |
| 17 #include "net/tools/quic/quic_dispatcher.h" | 18 #include "net/tools/quic/quic_dispatcher.h" |
| 18 | 19 |
| 19 namespace net { | 20 namespace net { |
| 20 | 21 |
| (...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 // skipped as necessary). | 115 // skipped as necessary). |
| 115 QuicVersionVector supported_versions_; | 116 QuicVersionVector supported_versions_; |
| 116 | 117 |
| 117 DISALLOW_COPY_AND_ASSIGN(QuicServer); | 118 DISALLOW_COPY_AND_ASSIGN(QuicServer); |
| 118 }; | 119 }; |
| 119 | 120 |
| 120 } // namespace tools | 121 } // namespace tools |
| 121 } // namespace net | 122 } // namespace net |
| 122 | 123 |
| 123 #endif // NET_TOOLS_QUIC_QUIC_SERVER_H_ | 124 #endif // NET_TOOLS_QUIC_QUIC_SERVER_H_ |
| OLD | NEW |