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

Side by Side Diff: net/server/http_server.h

Issue 13812005: net: move socket files from net/base to net/socket (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort gyp Created 7 years, 8 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
« no previous file with comments | « net/server/http_connection.cc ('k') | net/server/http_server.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef NET_SERVER_HTTP_SERVER_H_ 5 #ifndef NET_SERVER_HTTP_SERVER_H_
6 #define NET_SERVER_HTTP_SERVER_H_ 6 #define NET_SERVER_HTTP_SERVER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "net/base/stream_listen_socket.h"
14 #include "net/http/http_status_code.h" 13 #include "net/http/http_status_code.h"
14 #include "net/socket/stream_listen_socket.h"
15 15
16 namespace net { 16 namespace net {
17 17
18 class HttpConnection; 18 class HttpConnection;
19 class HttpServerRequestInfo; 19 class HttpServerRequestInfo;
20 class IPEndPoint; 20 class IPEndPoint;
21 class WebSocket; 21 class WebSocket;
22 22
23 class HttpServer : public StreamListenSocket::Delegate, 23 class HttpServer : public StreamListenSocket::Delegate,
24 public base::RefCountedThreadSafe<HttpServer> { 24 public base::RefCountedThreadSafe<HttpServer> {
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 IdToConnectionMap id_to_connection_; 92 IdToConnectionMap id_to_connection_;
93 typedef std::map<StreamListenSocket*, HttpConnection*> SocketToConnectionMap; 93 typedef std::map<StreamListenSocket*, HttpConnection*> SocketToConnectionMap;
94 SocketToConnectionMap socket_to_connection_; 94 SocketToConnectionMap socket_to_connection_;
95 95
96 DISALLOW_COPY_AND_ASSIGN(HttpServer); 96 DISALLOW_COPY_AND_ASSIGN(HttpServer);
97 }; 97 };
98 98
99 } // namespace net 99 } // namespace net
100 100
101 #endif // NET_SERVER_HTTP_SERVER_H_ 101 #endif // NET_SERVER_HTTP_SERVER_H_
OLDNEW
« no previous file with comments | « net/server/http_connection.cc ('k') | net/server/http_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698