OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #include "net/tools/flip_server/sm_connection.h" | 5 #include "net/tools/flip_server/sm_connection.h" |
6 | 6 |
7 #include <errno.h> | 7 #include <errno.h> |
8 #include <netinet/tcp.h> | 8 #include <netinet/tcp.h> |
9 #include <sys/socket.h> | 9 #include <sys/socket.h> |
| 10 #include <unistd.h> |
10 | 11 |
11 #include <list> | 12 #include <list> |
12 #include <string> | 13 #include <string> |
13 | 14 |
14 #include "net/tools/flip_server/constants.h" | 15 #include "net/tools/flip_server/constants.h" |
15 #include "net/tools/flip_server/flip_config.h" | 16 #include "net/tools/flip_server/flip_config.h" |
16 #include "net/tools/flip_server/http_interface.h" | 17 #include "net/tools/flip_server/http_interface.h" |
17 #include "net/tools/flip_server/spdy_interface.h" | 18 #include "net/tools/flip_server/spdy_interface.h" |
18 #include "net/tools/flip_server/spdy_ssl.h" | 19 #include "net/tools/flip_server/spdy_ssl.h" |
19 #include "net/tools/flip_server/streamer_interface.h" | 20 #include "net/tools/flip_server/streamer_interface.h" |
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
657 SMConnection* SMConnection::NewSMConnection(EpollServer* epoll_server, | 658 SMConnection* SMConnection::NewSMConnection(EpollServer* epoll_server, |
658 SSLState *ssl_state, | 659 SSLState *ssl_state, |
659 MemoryCache* memory_cache, | 660 MemoryCache* memory_cache, |
660 FlipAcceptor *acceptor, | 661 FlipAcceptor *acceptor, |
661 std::string log_prefix) { | 662 std::string log_prefix) { |
662 return new SMConnection(epoll_server, ssl_state, memory_cache, | 663 return new SMConnection(epoll_server, ssl_state, memory_cache, |
663 acceptor, log_prefix); | 664 acceptor, log_prefix); |
664 } | 665 } |
665 | 666 |
666 } // namespace net | 667 } // namespace net |
OLD | NEW |