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

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

Issue 2982009: Revert everything related to the relanding. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: 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
13 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
14 #include "base/logging.h" 12 #include "base/logging.h"
15 #include "base/md5.h" 13 #include "base/md5.h"
16 #include "base/string_util.h" 14 #include "base/string_util.h"
17 #include "net/server/http_listen_socket.h" 15 #include "net/server/http_listen_socket.h"
18 #include "net/server/http_server_request_info.h" 16 #include "net/server/http_server_request_info.h"
19 17
20 // must run in the IO thread 18 // must run in the IO thread
21 HttpListenSocket::HttpListenSocket(SOCKET s, 19 HttpListenSocket::HttpListenSocket(SOCKET s,
22 HttpListenSocket::Delegate* delegate) 20 HttpListenSocket::Delegate* delegate)
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 } 307 }
310 } 308 }
311 delegate_->OnHttpRequest(this, request.get()); 309 delegate_->OnHttpRequest(this, request.get());
312 } 310 }
313 } 311 }
314 312
315 void HttpListenSocket::DidClose(ListenSocket* sock) { 313 void HttpListenSocket::DidClose(ListenSocket* sock) {
316 sock->Release(); 314 sock->Release();
317 delegate_->OnClose(this); 315 delegate_->OnClose(this);
318 } 316 }
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