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

Side by Side Diff: net/server/http_listen_socket.cc

Issue 2986002: More header cleanup: (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: mac compile fixes (tested locally) Created 10 years, 5 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
« no previous file with comments | « net/proxy/proxy_service.cc ('k') | net/server/http_server_request_info.h » ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifdef _WIN32 5 #ifdef _WIN32
6 #include <winsock2.h> 6 #include <winsock2.h>
7 #else 7 #else
8 #include <arpa/inet.h> 8 #include <arpa/inet.h>
9 #endif 9 #endif
10 10
11 #include <map>
12
11 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
12 #include "base/logging.h" 14 #include "base/logging.h"
13 #include "base/md5.h" 15 #include "base/md5.h"
14 #include "base/string_util.h" 16 #include "base/string_util.h"
15 #include "net/server/http_listen_socket.h" 17 #include "net/server/http_listen_socket.h"
16 #include "net/server/http_server_request_info.h" 18 #include "net/server/http_server_request_info.h"
17 19
18 // must run in the IO thread 20 // must run in the IO thread
19 HttpListenSocket::HttpListenSocket(SOCKET s, 21 HttpListenSocket::HttpListenSocket(SOCKET s,
20 HttpListenSocket::Delegate* delegate) 22 HttpListenSocket::Delegate* delegate)
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 } 309 }
308 } 310 }
309 delegate_->OnHttpRequest(this, request.get()); 311 delegate_->OnHttpRequest(this, request.get());
310 } 312 }
311 } 313 }
312 314
313 void HttpListenSocket::DidClose(ListenSocket* sock) { 315 void HttpListenSocket::DidClose(ListenSocket* sock) {
314 sock->Release(); 316 sock->Release();
315 delegate_->OnClose(this); 317 delegate_->OnClose(this);
316 } 318 }
OLDNEW
« no previous file with comments | « net/proxy/proxy_service.cc ('k') | net/server/http_server_request_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698