OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_ | 5 #ifndef NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_ |
6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_ | 6 #define NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "net/base/net_log.h" | 10 #include "net/base/net_log.h" |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 const SSLConfig& used_ssl_config, | 91 const SSLConfig& used_ssl_config, |
92 const SSLInfo& ssl_info); | 92 const SSLInfo& ssl_info); |
93 void OnNeedsProxyAuth(Job* job, | 93 void OnNeedsProxyAuth(Job* job, |
94 const HttpResponseInfo& proxy_response, | 94 const HttpResponseInfo& proxy_response, |
95 const SSLConfig& used_ssl_config, | 95 const SSLConfig& used_ssl_config, |
96 const ProxyInfo& used_proxy_info, | 96 const ProxyInfo& used_proxy_info, |
97 HttpAuthController* auth_controller); | 97 HttpAuthController* auth_controller); |
98 void OnNeedsClientAuth(Job* job, | 98 void OnNeedsClientAuth(Job* job, |
99 const SSLConfig& used_ssl_config, | 99 const SSLConfig& used_ssl_config, |
100 SSLCertRequestInfo* cert_info); | 100 SSLCertRequestInfo* cert_info); |
101 void OnHttpsProxyTunnelResponse( | 101 void OnHttpsProxyTunnelResponse(Job* job, |
102 Job *job, | 102 const HttpResponseInfo& response_info, |
103 const HttpResponseInfo& response_info, | 103 const SSLConfig& used_ssl_config, |
104 const SSLConfig& used_ssl_config, | 104 const ProxyInfo& used_proxy_info, |
105 const ProxyInfo& used_proxy_info, | 105 HttpStreamBase* stream); |
106 HttpStreamBase* stream); | |
107 | 106 |
108 // HttpStreamRequest methods. | 107 // HttpStreamRequest methods. |
109 | 108 |
110 virtual int RestartTunnelWithProxyAuth( | 109 virtual int RestartTunnelWithProxyAuth( |
111 const AuthCredentials& credentials) OVERRIDE; | 110 const AuthCredentials& credentials) OVERRIDE; |
112 virtual void SetPriority(RequestPriority priority) OVERRIDE; | 111 virtual void SetPriority(RequestPriority priority) OVERRIDE; |
113 virtual LoadState GetLoadState() const OVERRIDE; | 112 virtual LoadState GetLoadState() const OVERRIDE; |
114 virtual bool was_npn_negotiated() const OVERRIDE; | 113 virtual bool was_npn_negotiated() const OVERRIDE; |
115 virtual NextProto protocol_negotiated() const OVERRIDE; | 114 virtual NextProto protocol_negotiated() const OVERRIDE; |
116 virtual bool using_spdy() const OVERRIDE; | 115 virtual bool using_spdy() const OVERRIDE; |
(...skipping 27 matching lines...) Expand all Loading... |
144 // Protocol negotiated with the server. | 143 // Protocol negotiated with the server. |
145 NextProto protocol_negotiated_; | 144 NextProto protocol_negotiated_; |
146 bool using_spdy_; | 145 bool using_spdy_; |
147 | 146 |
148 DISALLOW_COPY_AND_ASSIGN(Request); | 147 DISALLOW_COPY_AND_ASSIGN(Request); |
149 }; | 148 }; |
150 | 149 |
151 } // namespace net | 150 } // namespace net |
152 | 151 |
153 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_ | 152 #endif // NET_HTTP_HTTP_STREAM_FACTORY_IMPL_REQUEST_H_ |
OLD | NEW |