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

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

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 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
« no previous file with comments | « net/http/http_proxy_client_socket_wrapper.h ('k') | net/http/http_server_properties.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_wrapper.h" 5 #include "net/http/http_proxy_client_socket_wrapper.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/callback_helpers.h" 11 #include "base/callback_helpers.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/metrics/histogram_macros.h" 13 #include "base/metrics/histogram_macros.h"
14 #include "base/profiler/scoped_tracker.h" 14 #include "base/profiler/scoped_tracker.h"
15 #include "base/values.h" 15 #include "base/values.h"
16 #include "net/base/proxy_delegate.h" 16 #include "net/base/proxy_delegate.h"
17 #include "net/http/http_proxy_client_socket.h" 17 #include "net/http/http_proxy_client_socket.h"
18 #include "net/http/http_response_info.h" 18 #include "net/http/http_response_info.h"
19 #include "net/log/net_log_event_type.h" 19 #include "net/log/net_log_event_type.h"
20 #include "net/log/net_log_source.h" 20 #include "net/log/net_log_source.h"
21 #include "net/log/net_log_source_type.h" 21 #include "net/log/net_log_source_type.h"
22 #include "net/socket/client_socket_handle.h" 22 #include "net/socket/client_socket_handle.h"
23 #include "net/spdy/spdy_proxy_client_socket.h" 23 #include "net/spdy/chromium/spdy_proxy_client_socket.h"
24 #include "net/spdy/spdy_session.h" 24 #include "net/spdy/chromium/spdy_session.h"
25 #include "net/spdy/spdy_session_pool.h" 25 #include "net/spdy/chromium/spdy_session_pool.h"
26 #include "net/spdy/spdy_stream.h" 26 #include "net/spdy/chromium/spdy_stream.h"
27 #include "net/ssl/ssl_cert_request_info.h" 27 #include "net/ssl/ssl_cert_request_info.h"
28 #include "url/gurl.h" 28 #include "url/gurl.h"
29 29
30 namespace net { 30 namespace net {
31 31
32 HttpProxyClientSocketWrapper::HttpProxyClientSocketWrapper( 32 HttpProxyClientSocketWrapper::HttpProxyClientSocketWrapper(
33 const std::string& group_name, 33 const std::string& group_name,
34 RequestPriority priority, 34 RequestPriority priority,
35 ClientSocketPool::RespectLimits respect_limits, 35 ClientSocketPool::RespectLimits respect_limits,
36 base::TimeDelta connect_timeout_duration, 36 base::TimeDelta connect_timeout_duration,
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 const HostResolver::RequestInfo& 680 const HostResolver::RequestInfo&
681 HttpProxyClientSocketWrapper::GetDestination() { 681 HttpProxyClientSocketWrapper::GetDestination() {
682 if (transport_params_) { 682 if (transport_params_) {
683 return transport_params_->destination(); 683 return transport_params_->destination();
684 } else { 684 } else {
685 return ssl_params_->GetDirectConnectionParams()->destination(); 685 return ssl_params_->GetDirectConnectionParams()->destination();
686 } 686 }
687 } 687 }
688 688
689 } // namespace net 689 } // namespace net
OLDNEW
« no previous file with comments | « net/http/http_proxy_client_socket_wrapper.h ('k') | net/http/http_server_properties.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698