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

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

Issue 328903004: SSL Connect Job Waiting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed bugs related to memory management and early exits in DoSSLConnectComplete Created 6 years, 6 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 const std::string& ssl_session_cache_shard() const { 55 const std::string& ssl_session_cache_shard() const {
56 return ssl_session_cache_shard_; 56 return ssl_session_cache_shard_;
57 } 57 }
58 58
59 // SSLClientSocket implementation. 59 // SSLClientSocket implementation.
60 virtual void GetSSLCertRequestInfo( 60 virtual void GetSSLCertRequestInfo(
61 SSLCertRequestInfo* cert_request_info) OVERRIDE; 61 SSLCertRequestInfo* cert_request_info) OVERRIDE;
62 virtual NextProtoStatus GetNextProto(std::string* proto, 62 virtual NextProtoStatus GetNextProto(std::string* proto,
63 std::string* server_protos) OVERRIDE; 63 std::string* server_protos) OVERRIDE;
64 virtual ServerBoundCertService* GetServerBoundCertService() const OVERRIDE; 64 virtual ServerBoundCertService* GetServerBoundCertService() const OVERRIDE;
65 virtual bool InSessionCache() const OVERRIDE;
wtc 2014/06/19 19:38:10 Nit: move this declaration right before GetSSLCert
mshelley1 2014/06/24 17:03:59 Done.
65 66
66 // SSLSocket implementation. 67 // SSLSocket implementation.
67 virtual int ExportKeyingMaterial(const base::StringPiece& label, 68 virtual int ExportKeyingMaterial(const base::StringPiece& label,
68 bool has_context, 69 bool has_context,
69 const base::StringPiece& context, 70 const base::StringPiece& context,
70 unsigned char* out, 71 unsigned char* out,
71 unsigned int outlen) OVERRIDE; 72 unsigned int outlen) OVERRIDE;
72 virtual int GetTLSUniqueChannelBinding(std::string* out) OVERRIDE; 73 virtual int GetTLSUniqueChannelBinding(std::string* out) OVERRIDE;
73 74
74 // StreamSocket implementation. 75 // StreamSocket implementation.
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 // True if channel ID extension was negotiated. 242 // True if channel ID extension was negotiated.
242 bool channel_id_xtn_negotiated_; 243 bool channel_id_xtn_negotiated_;
243 // The request handle for |server_bound_cert_service_|. 244 // The request handle for |server_bound_cert_service_|.
244 ServerBoundCertService::RequestHandle channel_id_request_handle_; 245 ServerBoundCertService::RequestHandle channel_id_request_handle_;
245 BoundNetLog net_log_; 246 BoundNetLog net_log_;
246 }; 247 };
247 248
248 } // namespace net 249 } // namespace net
249 250
250 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_ 251 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_OPENSSL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698