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

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

Issue 3417010: Integrate the SpdyProxyClientSocket into the HttpStreamRequest... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Rebasing again Created 10 years, 2 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
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 "net/base/completion_callback.h" 9 #include "net/base/completion_callback.h"
10 #include "net/base/host_mapping_rules.h" 10 #include "net/base/host_mapping_rules.h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 int DoInitConnectionComplete(int result); 105 int DoInitConnectionComplete(int result);
106 int DoWaitingUserAction(int result); 106 int DoWaitingUserAction(int result);
107 int DoCreateStream(); 107 int DoCreateStream();
108 int DoCreateStreamComplete(int result); 108 int DoCreateStreamComplete(int result);
109 int DoRestartTunnelAuth(); 109 int DoRestartTunnelAuth();
110 int DoRestartTunnelAuthComplete(int result); 110 int DoRestartTunnelAuthComplete(int result);
111 111
112 // Set the motivation for this request onto the underlying socket. 112 // Set the motivation for this request onto the underlying socket.
113 void SetSocketMotivation(); 113 void SetSocketMotivation();
114 114
115 bool IsHttpsProxyAndHttpUrl();
116
115 // Returns a newly create SSLSocketParams, and sets several 117 // Returns a newly create SSLSocketParams, and sets several
116 // fields of ssl_config_. 118 // fields of ssl_config_.
117 scoped_refptr<SSLSocketParams> GenerateSslParams( 119 scoped_refptr<SSLSocketParams> GenerateSslParams(
118 scoped_refptr<TCPSocketParams> tcp_params, 120 scoped_refptr<TCPSocketParams> tcp_params,
119 scoped_refptr<HttpProxySocketParams> http_proxy_params, 121 scoped_refptr<HttpProxySocketParams> http_proxy_params,
120 scoped_refptr<SOCKSSocketParams> socks_params, 122 scoped_refptr<SOCKSSocketParams> socks_params,
121 ProxyServer::Scheme proxy_scheme, 123 ProxyServer::Scheme proxy_scheme,
122 std::string hostname, 124 std::string hostname,
123 bool want_spdy_over_npn); 125 bool want_spdy_over_npn);
124 126
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 // this has been cancelled, input parameters passed into the StreamRequest 213 // this has been cancelled, input parameters passed into the StreamRequest
212 // can no longer be touched (as they belong to the requestor). 214 // can no longer be touched (as they belong to the requestor).
213 bool cancelled_; 215 bool cancelled_;
214 216
215 DISALLOW_COPY_AND_ASSIGN(HttpStreamRequest); 217 DISALLOW_COPY_AND_ASSIGN(HttpStreamRequest);
216 }; 218 };
217 219
218 } // namespace net 220 } // namespace net
219 221
220 #endif // NET_HTTP_HTTP_STREAM_REQUEST_H_ 222 #endif // NET_HTTP_HTTP_STREAM_REQUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698