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

Side by Side Diff: net/http/http_proxy_client_socket.cc

Issue 3814013: FBTF: Monster ctor patch after changing heuristics in clang plugin. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: More add file fail Created 10 years, 2 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/http/http_net_log_params.cc ('k') | net/http/partial_data.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 #include "net/http/http_proxy_client_socket.h" 5 #include "net/http/http_proxy_client_socket.h"
6 6
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "base/stringprintf.h" 8 #include "base/stringprintf.h"
9 #include "googleurl/src/gurl.h" 9 #include "googleurl/src/gurl.h"
10 #include "net/base/auth.h" 10 #include "net/base/auth.h"
11 #include "net/base/host_port_pair.h" 11 #include "net/base/host_port_pair.h"
12 #include "net/base/io_buffer.h" 12 #include "net/base/io_buffer.h"
13 #include "net/base/net_log.h" 13 #include "net/base/net_log.h"
14 #include "net/base/net_util.h" 14 #include "net/base/net_util.h"
15 #include "net/http/http_net_log_params.h" 15 #include "net/http/http_net_log_params.h"
16 #include "net/http/http_network_session.h" 16 #include "net/http/http_network_session.h"
17 #include "net/http/http_proxy_utils.h" 17 #include "net/http/http_proxy_utils.h"
18 #include "net/http/http_request_info.h" 18 #include "net/http/http_request_info.h"
19 #include "net/http/http_response_headers.h"
19 #include "net/http/http_stream_parser.h" 20 #include "net/http/http_stream_parser.h"
20 #include "net/socket/client_socket_handle.h" 21 #include "net/socket/client_socket_handle.h"
21 22
22 namespace net { 23 namespace net {
23 24
24 HttpProxyClientSocket::HttpProxyClientSocket( 25 HttpProxyClientSocket::HttpProxyClientSocket(
25 ClientSocketHandle* transport_socket, 26 ClientSocketHandle* transport_socket,
26 const GURL& request_url, 27 const GURL& request_url,
27 const std::string& user_agent, 28 const std::string& user_agent,
28 const HostPortPair& endpoint, 29 const HostPortPair& endpoint,
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 448
448 int rv = auth_->HandleAuthChallenge(response_.headers, false, true, net_log_); 449 int rv = auth_->HandleAuthChallenge(response_.headers, false, true, net_log_);
449 response_.auth_challenge = auth_->auth_info(); 450 response_.auth_challenge = auth_->auth_info();
450 if (rv == OK) 451 if (rv == OK)
451 return ERR_PROXY_AUTH_REQUESTED; 452 return ERR_PROXY_AUTH_REQUESTED;
452 453
453 return rv; 454 return rv;
454 } 455 }
455 456
456 } // namespace net 457 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_net_log_params.cc ('k') | net/http/partial_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698