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

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

Issue 4339001: Correctly handle SSL Client Authentication requests when connecting... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Rebase... Created 10 years, 1 month 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
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"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 int DoRestartTunnelAuth(); 133 int DoRestartTunnelAuth();
134 int DoRestartTunnelAuthComplete(int result); 134 int DoRestartTunnelAuthComplete(int result);
135 135
136 // Set the motivation for this request onto the underlying socket. 136 // Set the motivation for this request onto the underlying socket.
137 void SetSocketMotivation(); 137 void SetSocketMotivation();
138 138
139 bool IsHttpsProxyAndHttpUrl(); 139 bool IsHttpsProxyAndHttpUrl();
140 140
141 // Returns a newly create SSLSocketParams, and sets several 141 // Returns a newly create SSLSocketParams, and sets several
142 // fields of ssl_config_. 142 // fields of ssl_config_.
143 scoped_refptr<SSLSocketParams> GenerateSslParams( 143 scoped_refptr<SSLSocketParams> GenerateSSLParams(
144 scoped_refptr<TCPSocketParams> tcp_params, 144 scoped_refptr<TCPSocketParams> tcp_params,
145 scoped_refptr<HttpProxySocketParams> http_proxy_params, 145 scoped_refptr<HttpProxySocketParams> http_proxy_params,
146 scoped_refptr<SOCKSSocketParams> socks_params, 146 scoped_refptr<SOCKSSocketParams> socks_params,
147 ProxyServer::Scheme proxy_scheme, 147 ProxyServer::Scheme proxy_scheme,
148 std::string hostname, 148 std::string hostname,
149 uint16 port,
149 bool want_spdy_over_npn); 150 bool want_spdy_over_npn);
150 151
151 // AlternateProtocol API 152 // AlternateProtocol API
152 void MarkBrokenAlternateProtocolAndFallback(); 153 void MarkBrokenAlternateProtocolAndFallback();
153 154
154 // Retrieve SSLInfo from our SSL Socket. 155 // Retrieve SSLInfo from our SSL Socket.
155 // This must only be called when we are using an SSLSocket. 156 // This must only be called when we are using an SSLSocket.
156 // After calling, the caller can use ssl_info_. 157 // After calling, the caller can use ssl_info_.
157 void GetSSLInfo(); 158 void GetSSLInfo();
158 159
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 int num_streams_; 243 int num_streams_;
243 244
244 ScopedRunnableMethodFactory<HttpStreamRequest> method_factory_; 245 ScopedRunnableMethodFactory<HttpStreamRequest> method_factory_;
245 246
246 DISALLOW_COPY_AND_ASSIGN(HttpStreamRequest); 247 DISALLOW_COPY_AND_ASSIGN(HttpStreamRequest);
247 }; 248 };
248 249
249 } // namespace net 250 } // namespace net
250 251
251 #endif // NET_HTTP_HTTP_STREAM_REQUEST_H_ 252 #endif // NET_HTTP_HTTP_STREAM_REQUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698