OLD | NEW |
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/profiler/scoped_tracker.h" | 13 #include "base/profiler/scoped_tracker.h" |
14 #include "base/values.h" | 14 #include "base/values.h" |
15 #include "net/base/proxy_delegate.h" | 15 #include "net/base/proxy_delegate.h" |
16 #include "net/http/http_proxy_client_socket.h" | 16 #include "net/http/http_proxy_client_socket.h" |
17 #include "net/http/http_response_info.h" | 17 #include "net/http/http_response_info.h" |
18 #include "net/log/net_log_event_type.h" | 18 #include "net/log/net_log_event_type.h" |
| 19 #include "net/log/net_log_source.h" |
19 #include "net/log/net_log_source_type.h" | 20 #include "net/log/net_log_source_type.h" |
20 #include "net/socket/client_socket_handle.h" | 21 #include "net/socket/client_socket_handle.h" |
21 #include "net/spdy/spdy_proxy_client_socket.h" | 22 #include "net/spdy/spdy_proxy_client_socket.h" |
22 #include "net/spdy/spdy_session.h" | 23 #include "net/spdy/spdy_session.h" |
23 #include "net/spdy/spdy_session_pool.h" | 24 #include "net/spdy/spdy_session_pool.h" |
24 #include "net/spdy/spdy_stream.h" | 25 #include "net/spdy/spdy_stream.h" |
25 #include "net/ssl/ssl_cert_request_info.h" | 26 #include "net/ssl/ssl_cert_request_info.h" |
26 #include "url/gurl.h" | 27 #include "url/gurl.h" |
27 | 28 |
28 namespace net { | 29 namespace net { |
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
623 const HostResolver::RequestInfo& | 624 const HostResolver::RequestInfo& |
624 HttpProxyClientSocketWrapper::GetDestination() { | 625 HttpProxyClientSocketWrapper::GetDestination() { |
625 if (transport_params_) { | 626 if (transport_params_) { |
626 return transport_params_->destination(); | 627 return transport_params_->destination(); |
627 } else { | 628 } else { |
628 return ssl_params_->GetDirectConnectionParams()->destination(); | 629 return ssl_params_->GetDirectConnectionParams()->destination(); |
629 } | 630 } |
630 } | 631 } |
631 | 632 |
632 } // namespace net | 633 } // namespace net |
OLD | NEW |