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

Side by Side Diff: net/socket/ssl_client_socket_openssl.h

Issue 364943002: Makes waiting SSLConnectJobs use the message loops to resume their connection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Moved documentation and switched to use a temp var of the task_runner. Created 6 years, 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 // server. 215 // server.
216 std::vector<SSLClientCertType> cert_key_types_; 216 std::vector<SSLClientCertType> cert_key_types_;
217 217
218 CertVerifier* const cert_verifier_; 218 CertVerifier* const cert_verifier_;
219 scoped_ptr<SingleRequestCertVerifier> verifier_; 219 scoped_ptr<SingleRequestCertVerifier> verifier_;
220 220
221 // The service for retrieving Channel ID keys. May be NULL. 221 // The service for retrieving Channel ID keys. May be NULL.
222 ServerBoundCertService* server_bound_cert_service_; 222 ServerBoundCertService* server_bound_cert_service_;
223 223
224 // Callback that is invoked when the connection encounters an error. 224 // Callback that is invoked when the connection encounters an error.
225 // This callback should be run regardless of whether or not this socket
226 // will still be valid at its runtime.
Ryan Sleevi 2014/07/10 20:30:45 Sorry that it seems like I still wasn't clear. Th
mshelley 2014/07/10 22:49:58 Done.
225 base::Closure error_callback_; 227 base::Closure error_callback_;
226 228
227 // True if there may be pending sockets waiting for this socket to connect. 229 // True if there may be pending sockets waiting for this socket to connect.
228 bool is_leader_; 230 bool is_leader_;
229 231
230 // OpenSSL stuff 232 // OpenSSL stuff
231 SSL* ssl_; 233 SSL* ssl_;
232 BIO* transport_bio_; 234 BIO* transport_bio_;
233 235
234 scoped_ptr<ClientSocketHandle> transport_; 236 scoped_ptr<ClientSocketHandle> transport_;
(...skipping 25 matching lines...) Expand all
260 // True if channel ID extension was negotiated. 262 // True if channel ID extension was negotiated.
261 bool channel_id_xtn_negotiated_; 263 bool channel_id_xtn_negotiated_;
262 // The request handle for |server_bound_cert_service_|. 264 // The request handle for |server_bound_cert_service_|.
263 ServerBoundCertService::RequestHandle channel_id_request_handle_; 265 ServerBoundCertService::RequestHandle channel_id_request_handle_;
264 BoundNetLog net_log_; 266 BoundNetLog net_log_;
265 }; 267 };
266 268
267 } // namespace net 269 } // namespace net
268 270
269 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ 271 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_
OLDNEW
« no previous file with comments | « no previous file | net/socket/ssl_client_socket_openssl.cc » ('j') | net/socket/ssl_client_socket_pool.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698