OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #ifndef NET_TOOLS_FLIP_SERVER_SM_CONNECTION_H_ | 5 #ifndef NET_TOOLS_FLIP_SERVER_SM_CONNECTION_H_ |
6 #define NET_TOOLS_FLIP_SERVER_SM_CONNECTION_H_ | 6 #define NET_TOOLS_FLIP_SERVER_SM_CONNECTION_H_ |
7 | 7 |
8 #include <arpa/inet.h> // in_addr_t | 8 #include <arpa/inet.h> // in_addr_t |
9 #include <time.h> | 9 #include <time.h> |
10 | 10 |
11 #include <list> | 11 #include <list> |
12 #include <string> | 12 #include <string> |
13 | 13 |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
| 15 #include "net/tools/epoll_server/epoll_server.h" |
15 #include "net/tools/flip_server/create_listener.h" | 16 #include "net/tools/flip_server/create_listener.h" |
16 #include "net/tools/flip_server/epoll_server.h" | |
17 #include "net/tools/flip_server/mem_cache.h" | 17 #include "net/tools/flip_server/mem_cache.h" |
18 #include "net/tools/flip_server/ring_buffer.h" | 18 #include "net/tools/flip_server/ring_buffer.h" |
19 #include "net/tools/flip_server/sm_interface.h" | 19 #include "net/tools/flip_server/sm_interface.h" |
20 #include "openssl/ssl.h" | 20 #include "openssl/ssl.h" |
21 | 21 |
22 namespace net { | 22 namespace net { |
23 | 23 |
24 class FlipAcceptor; | 24 class FlipAcceptor; |
25 class MemoryCache; | 25 class MemoryCache; |
26 struct SSLState; | 26 struct SSLState; |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 size_t max_bytes_sent_per_dowrite_; | 153 size_t max_bytes_sent_per_dowrite_; |
154 | 154 |
155 SSL* ssl_; | 155 SSL* ssl_; |
156 | 156 |
157 static bool force_spdy_; | 157 static bool force_spdy_; |
158 }; | 158 }; |
159 | 159 |
160 } // namespace net | 160 } // namespace net |
161 | 161 |
162 #endif // NET_TOOLS_FLIP_SERVER_SM_CONNECTION_H_ | 162 #endif // NET_TOOLS_FLIP_SERVER_SM_CONNECTION_H_ |
OLD | NEW |