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

Side by Side Diff: net/spdy/spdy_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/proxy/proxy_resolver_script_data.cc ('k') | net/url_request/url_request_job_manager.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/spdy/spdy_proxy_client_socket.h" 5 #include "net/spdy/spdy_proxy_client_socket.h"
6 6
7 #include <algorithm> // min 7 #include <algorithm> // min
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/string_util.h" 10 #include "base/string_util.h"
11 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
12 #include "net/base/auth.h" 12 #include "net/base/auth.h"
13 #include "net/base/io_buffer.h" 13 #include "net/base/io_buffer.h"
14 #include "net/base/net_util.h" 14 #include "net/base/net_util.h"
15 #include "net/http/http_auth_cache.h" 15 #include "net/http/http_auth_cache.h"
16 #include "net/http/http_auth_handler_factory.h" 16 #include "net/http/http_auth_handler_factory.h"
17 #include "net/http/http_net_log_params.h" 17 #include "net/http/http_net_log_params.h"
18 #include "net/http/http_proxy_utils.h" 18 #include "net/http/http_proxy_utils.h"
19 #include "net/http/http_response_headers.h"
19 #include "net/spdy/spdy_http_utils.h" 20 #include "net/spdy/spdy_http_utils.h"
20 21
21 namespace net { 22 namespace net {
22 23
23 SpdyProxyClientSocket::SpdyProxyClientSocket( 24 SpdyProxyClientSocket::SpdyProxyClientSocket(
24 SpdyStream* spdy_stream, 25 SpdyStream* spdy_stream,
25 const std::string& user_agent, 26 const std::string& user_agent,
26 const HostPortPair& endpoint, 27 const HostPortPair& endpoint,
27 const GURL& url, 28 const GURL& url,
28 const HostPortPair& proxy_server, 29 const HostPortPair& proxy_server,
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
455 read_callback->Run(status); 456 read_callback->Run(status);
456 } else if (read_callback_) { 457 } else if (read_callback_) {
457 // If we have a read_callback, the we need to make sure we call it back 458 // If we have a read_callback, the we need to make sure we call it back
458 OnDataReceived(NULL, 0); 459 OnDataReceived(NULL, 0);
459 } 460 }
460 if (write_callback) 461 if (write_callback)
461 write_callback->Run(ERR_CONNECTION_CLOSED); 462 write_callback->Run(ERR_CONNECTION_CLOSED);
462 } 463 }
463 464
464 } // namespace net 465 } // namespace net
OLDNEW
« no previous file with comments | « net/proxy/proxy_resolver_script_data.cc ('k') | net/url_request/url_request_job_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698