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

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

Issue 6017010: Ensure that when using False Start + client auth, bad client certificates are not cached (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix mac compile Created 9 years, 11 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 "base/task.h" 9 #include "base/task.h"
10 #include "net/base/completion_callback.h" 10 #include "net/base/completion_callback.h"
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 int ReconsiderProxyAfterError(int error); 165 int ReconsiderProxyAfterError(int error);
166 166
167 // Called to handle a certificate error. Stores the certificate in the 167 // Called to handle a certificate error. Stores the certificate in the
168 // allowed_bad_certs list, and checks if the error can be ignored. Returns 168 // allowed_bad_certs list, and checks if the error can be ignored. Returns
169 // OK if it can be ignored, or the error code otherwise. 169 // OK if it can be ignored, or the error code otherwise.
170 int HandleCertificateError(int error); 170 int HandleCertificateError(int error);
171 171
172 // Called to handle a client certificate request. 172 // Called to handle a client certificate request.
173 int HandleCertificateRequest(int error); 173 int HandleCertificateRequest(int error);
174 174
175 // Called to possibly recover from an SSL handshake error. Sets next_state_
176 // and returns OK if recovering from the error. Otherwise, the same error
177 // code is returned.
178 int HandleSSLHandshakeError(int error);
179
180 // Moves this stream request into SPDY mode. 175 // Moves this stream request into SPDY mode.
181 void SwitchToSpdyMode(); 176 void SwitchToSpdyMode();
182 177
183 // Should we force SPDY to run over SSL for this stream request. 178 // Should we force SPDY to run over SSL for this stream request.
184 bool ShouldForceSpdySSL(); 179 bool ShouldForceSpdySSL();
185 180
186 // Should we force SPDY to run without SSL for this stream request. 181 // Should we force SPDY to run without SSL for this stream request.
187 bool ShouldForceSpdyWithoutSSL(); 182 bool ShouldForceSpdyWithoutSSL();
188 183
189 // Record histograms of latency until Connect() completes. 184 // Record histograms of latency until Connect() completes.
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 int num_streams_; 243 int num_streams_;
249 244
250 ScopedRunnableMethodFactory<HttpStreamRequest> method_factory_; 245 ScopedRunnableMethodFactory<HttpStreamRequest> method_factory_;
251 246
252 DISALLOW_COPY_AND_ASSIGN(HttpStreamRequest); 247 DISALLOW_COPY_AND_ASSIGN(HttpStreamRequest);
253 }; 248 };
254 249
255 } // namespace net 250 } // namespace net
256 251
257 #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