OLD | NEW |
---|---|
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 #ifndef NET_HTTP_HTTP_STREAM_REQUEST_H_ | 5 #ifndef NET_HTTP_HTTP_STREAM_REQUEST_H_ |
6 #define NET_HTTP_HTTP_STREAM_REQUEST_H_ | 6 #define NET_HTTP_HTTP_STREAM_REQUEST_H_ |
7 | 7 |
8 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
9 #include "base/task.h" | 9 #include "base/task.h" |
10 #include "net/base/completion_callback.h" | 10 #include "net/base/completion_callback.h" |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
102 ProxyInfo* proxy_info() const; | 102 ProxyInfo* proxy_info() const; |
103 SSLConfig* ssl_config() const; | 103 SSLConfig* ssl_config() const; |
104 | 104 |
105 // Callbacks to the delegate. | 105 // Callbacks to the delegate. |
106 void OnStreamReadyCallback(); | 106 void OnStreamReadyCallback(); |
107 void OnStreamFailedCallback(int result); | 107 void OnStreamFailedCallback(int result); |
108 void OnCertificateErrorCallback(int result, const SSLInfo& ssl_info); | 108 void OnCertificateErrorCallback(int result, const SSLInfo& ssl_info); |
109 void OnNeedsProxyAuthCallback(const HttpResponseInfo& response_info, | 109 void OnNeedsProxyAuthCallback(const HttpResponseInfo& response_info, |
110 HttpAuthController* auth_controller); | 110 HttpAuthController* auth_controller); |
111 void OnNeedsClientAuthCallback(SSLCertRequestInfo* cert_info); | 111 void OnNeedsClientAuthCallback(SSLCertRequestInfo* cert_info); |
112 void OnHttpsProxyTunnelConnectionResponseCallback( | |
vandebo (ex-Chrome)
2010/12/04 00:30:37
OnHttpsProxyConnectResponseCallback ?
| |
113 const HttpResponseInfo& response_info, | |
114 HttpStream* stream); | |
112 void OnPreconnectsComplete(int result); | 115 void OnPreconnectsComplete(int result); |
113 | 116 |
114 void OnIOComplete(int result); | 117 void OnIOComplete(int result); |
115 int RunLoop(int result); | 118 int RunLoop(int result); |
116 int DoLoop(int result); | 119 int DoLoop(int result); |
117 int StartInternal(const HttpRequestInfo* request_info, | 120 int StartInternal(const HttpRequestInfo* request_info, |
118 SSLConfig* ssl_config, | 121 SSLConfig* ssl_config, |
119 ProxyInfo* proxy_info, | 122 ProxyInfo* proxy_info, |
120 const BoundNetLog& net_log); | 123 const BoundNetLog& net_log); |
121 | 124 |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
242 int num_streams_; | 245 int num_streams_; |
243 | 246 |
244 ScopedRunnableMethodFactory<HttpStreamRequest> method_factory_; | 247 ScopedRunnableMethodFactory<HttpStreamRequest> method_factory_; |
245 | 248 |
246 DISALLOW_COPY_AND_ASSIGN(HttpStreamRequest); | 249 DISALLOW_COPY_AND_ASSIGN(HttpStreamRequest); |
247 }; | 250 }; |
248 | 251 |
249 } // namespace net | 252 } // namespace net |
250 | 253 |
251 #endif // NET_HTTP_HTTP_STREAM_REQUEST_H_ | 254 #endif // NET_HTTP_HTTP_STREAM_REQUEST_H_ |
OLD | NEW |