Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Side by Side Diff: net/tools/quic/quic_server.h

Issue 25085002: Break out balsa and epoll_server from net/tools/flip_server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "net/base/ip_endpoint.h" 12 #include "net/base/ip_endpoint.h"
13 #include "net/quic/crypto/crypto_server_config.h" 13 #include "net/quic/crypto/crypto_server_config.h"
14 #include "net/quic/quic_config.h" 14 #include "net/quic/quic_config.h"
15 #include "net/quic/quic_framer.h" 15 #include "net/quic/quic_framer.h"
16 #include "net/tools/flip_server/epoll_server.h" 16 #include "net/tools/epoll_server/epoll_server.h"
17 #include "net/tools/quic/quic_dispatcher.h" 17 #include "net/tools/quic/quic_dispatcher.h"
18 18
19 namespace net { 19 namespace net {
20 20
21 namespace tools { 21 namespace tools {
22 22
23 class QuicDispatcher; 23 class QuicDispatcher;
24 24
25 class QuicServer : public EpollCallbackInterface { 25 class QuicServer : public EpollCallbackInterface {
26 public: 26 public:
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 // crypto_config_ contains crypto parameters for the handshake. 108 // crypto_config_ contains crypto parameters for the handshake.
109 QuicCryptoServerConfig crypto_config_; 109 QuicCryptoServerConfig crypto_config_;
110 110
111 DISALLOW_COPY_AND_ASSIGN(QuicServer); 111 DISALLOW_COPY_AND_ASSIGN(QuicServer);
112 }; 112 };
113 113
114 } // namespace tools 114 } // namespace tools
115 } // namespace net 115 } // namespace net
116 116
117 #endif // NET_TOOLS_QUIC_QUIC_SERVER_H_ 117 #endif // NET_TOOLS_QUIC_QUIC_SERVER_H_
OLDNEW
« no previous file with comments | « net/tools/quic/quic_reliable_server_stream_test.cc ('k') | net/tools/quic/quic_server_session_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698