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

Side by Side Diff: net/http/http_stream_request.h

Issue 6804032: Add TLS-SRP (RFC 5054) support Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: remove "httpsv" scheme, minor NSS/OpenSSL changes Created 9 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 | Annotate | Revision Log
« no previous file with comments | « net/http/http_stream_parser.cc ('k') | net/http/http_stream_request.cc » ('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 #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"
11 #include "net/base/host_mapping_rules.h" 11 #include "net/base/host_mapping_rules.h"
12 #include "net/base/ssl_config_service.h" 12 #include "net/base/ssl_config_service.h"
13 #include "net/http/http_auth.h" 13 #include "net/http/http_auth.h"
14 #include "net/http/http_auth_controller.h" 14 #include "net/http/http_auth_controller.h"
15 #include "net/http/http_alternate_protocols.h" 15 #include "net/http/http_alternate_protocols.h"
16 #include "net/http/stream_factory.h" 16 #include "net/http/stream_factory.h"
17 #include "net/proxy/proxy_service.h" 17 #include "net/proxy/proxy_service.h"
18 #include "net/socket/client_socket_handle.h" 18 #include "net/socket/client_socket_handle.h"
19 19
20 namespace net { 20 namespace net {
21 21
22 class AuthChallengeInfo;
22 class ClientSocketHandle; 23 class ClientSocketHandle;
23 class HttpAuthController; 24 class HttpAuthController;
24 class HttpNetworkSession; 25 class HttpNetworkSession;
25 class HttpProxySocketParams; 26 class HttpProxySocketParams;
26 class SOCKSSocketParams; 27 class SOCKSSocketParams;
27 class SSLSocketParams; 28 class SSLSocketParams;
28 class StreamRequestDelegate; 29 class StreamRequestDelegate;
29 class TCPSocketParams; 30 class TCPSocketParams;
30 struct HttpRequestInfo; 31 struct HttpRequestInfo;
31 32
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 ProxyInfo* proxy_info() const; 101 ProxyInfo* proxy_info() const;
101 SSLConfig* ssl_config() const; 102 SSLConfig* ssl_config() const;
102 103
103 // Callbacks to the delegate. 104 // Callbacks to the delegate.
104 void OnStreamReadyCallback(); 105 void OnStreamReadyCallback();
105 void OnStreamFailedCallback(int result); 106 void OnStreamFailedCallback(int result);
106 void OnCertificateErrorCallback(int result, const SSLInfo& ssl_info); 107 void OnCertificateErrorCallback(int result, const SSLInfo& ssl_info);
107 void OnNeedsProxyAuthCallback(const HttpResponseInfo& response_info, 108 void OnNeedsProxyAuthCallback(const HttpResponseInfo& response_info,
108 HttpAuthController* auth_controller); 109 HttpAuthController* auth_controller);
109 void OnNeedsClientAuthCallback(SSLCertRequestInfo* cert_info); 110 void OnNeedsClientAuthCallback(SSLCertRequestInfo* cert_info);
111 void OnNeedsTLSLoginCallback(AuthChallengeInfo* login_info);
110 void OnHttpsProxyTunnelResponseCallback(const HttpResponseInfo& response_info, 112 void OnHttpsProxyTunnelResponseCallback(const HttpResponseInfo& response_info,
111 HttpStream* stream); 113 HttpStream* stream);
112 void OnPreconnectsComplete(int result); 114 void OnPreconnectsComplete(int result);
113 115
114 void OnIOComplete(int result); 116 void OnIOComplete(int result);
115 int RunLoop(int result); 117 int RunLoop(int result);
116 int DoLoop(int result); 118 int DoLoop(int result);
117 int StartInternal(const HttpRequestInfo* request_info, 119 int StartInternal(const HttpRequestInfo* request_info,
118 SSLConfig* ssl_config, 120 SSLConfig* ssl_config,
119 ProxyInfo* proxy_info, 121 ProxyInfo* proxy_info,
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 int num_streams_; 245 int num_streams_;
244 246
245 ScopedRunnableMethodFactory<HttpStreamRequest> method_factory_; 247 ScopedRunnableMethodFactory<HttpStreamRequest> method_factory_;
246 248
247 DISALLOW_COPY_AND_ASSIGN(HttpStreamRequest); 249 DISALLOW_COPY_AND_ASSIGN(HttpStreamRequest);
248 }; 250 };
249 251
250 } // namespace net 252 } // namespace net
251 253
252 #endif // NET_HTTP_HTTP_STREAM_REQUEST_H_ 254 #endif // NET_HTTP_HTTP_STREAM_REQUEST_H_
OLDNEW
« no previous file with comments | « net/http/http_stream_parser.cc ('k') | net/http/http_stream_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698