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_ACCEPTOR_THREAD_H_ | 5 #ifndef NET_TOOLS_FLIP_SERVER_ACCEPTOR_THREAD_H_ |
6 #define NET_TOOLS_FLIP_SERVER_ACCEPTOR_THREAD_H_ | 6 #define NET_TOOLS_FLIP_SERVER_ACCEPTOR_THREAD_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/threading/simple_thread.h" | 13 #include "base/threading/simple_thread.h" |
14 #include "net/tools/flip_server/epoll_server.h" | 14 #include "net/tools/epoll_server/epoll_server.h" |
15 #include "net/tools/flip_server/sm_interface.h" | 15 #include "net/tools/flip_server/sm_interface.h" |
16 #include "openssl/ssl.h" | 16 #include "openssl/ssl.h" |
17 | 17 |
18 struct sockaddr_in; | 18 struct sockaddr_in; |
19 | 19 |
20 namespace net { | 20 namespace net { |
21 | 21 |
22 class FlipAcceptor; | 22 class FlipAcceptor; |
23 class MemoryCache; | 23 class MemoryCache; |
24 class SMConnection; | 24 class SMConnection; |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 std::vector<SMConnection*> tmp_unused_server_connections_; | 88 std::vector<SMConnection*> tmp_unused_server_connections_; |
89 std::vector<SMConnection*> allocated_server_connections_; | 89 std::vector<SMConnection*> allocated_server_connections_; |
90 std::list<SMConnection*> active_server_connections_; | 90 std::list<SMConnection*> active_server_connections_; |
91 Notification quitting_; | 91 Notification quitting_; |
92 MemoryCache* memory_cache_; | 92 MemoryCache* memory_cache_; |
93 }; | 93 }; |
94 | 94 |
95 } // namespace net | 95 } // namespace net |
96 | 96 |
97 #endif // NET_TOOLS_FLIP_SERVER_ACCEPTOR_THREAD_H_ | 97 #endif // NET_TOOLS_FLIP_SERVER_ACCEPTOR_THREAD_H_ |
OLD | NEW |