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

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

Issue 2176183003: Revert of Enable Expect-Staple in SSLClientSocket. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ocsp-reporting
Patch Set: Created 4 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
« no previous file with comments | « net/quic/quic_crypto_client_stream.cc ('k') | net/socket/ssl_client_socket_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_IMPL_H_ 5 #ifndef NET_SOCKET_SSL_CLIENT_SOCKET_IMPL_H_
6 #define NET_SOCKET_SSL_CLIENT_SOCKET_IMPL_H_ 6 #define NET_SOCKET_SSL_CLIENT_SOCKET_IMPL_H_
7 7
8 #include <openssl/base.h> 8 #include <openssl/base.h>
9 #include <openssl/ssl.h> 9 #include <openssl/ssl.h>
10 #include <stddef.h> 10 #include <stddef.h>
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 int transport_read_error_; 279 int transport_read_error_;
280 280
281 // Used by TransportWriteComplete() and TransportReadComplete() to signify an 281 // Used by TransportWriteComplete() and TransportReadComplete() to signify an
282 // error writing to the transport socket. A value of OK indicates no error. 282 // error writing to the transport socket. A value of OK indicates no error.
283 int transport_write_error_; 283 int transport_write_error_;
284 284
285 // Set when Connect finishes. 285 // Set when Connect finishes.
286 std::unique_ptr<PeerCertificateChain> server_cert_chain_; 286 std::unique_ptr<PeerCertificateChain> server_cert_chain_;
287 scoped_refptr<X509Certificate> server_cert_; 287 scoped_refptr<X509Certificate> server_cert_;
288 CertVerifyResult server_cert_verify_result_; 288 CertVerifyResult server_cert_verify_result_;
289 std::string ocsp_response_;
290 bool completed_connect_; 289 bool completed_connect_;
291 290
292 // Set when Read() or Write() successfully reads or writes data to or from the 291 // Set when Read() or Write() successfully reads or writes data to or from the
293 // network. 292 // network.
294 bool was_ever_used_; 293 bool was_ever_used_;
295 294
296 // List of DER-encoded X.509 DistinguishedName of certificate authorities 295 // List of DER-encoded X.509 DistinguishedName of certificate authorities
297 // allowed by the server. 296 // allowed by the server.
298 std::vector<std::string> cert_authorities_; 297 std::vector<std::string> cert_authorities_;
299 // List of SSLClientCertType values for client certificates allowed by the 298 // List of SSLClientCertType values for client certificates allowed by the
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 // True if PKP is bypassed due to a local trust anchor. 369 // True if PKP is bypassed due to a local trust anchor.
371 bool pkp_bypassed_; 370 bool pkp_bypassed_;
372 371
373 BoundNetLog net_log_; 372 BoundNetLog net_log_;
374 base::WeakPtrFactory<SSLClientSocketImpl> weak_factory_; 373 base::WeakPtrFactory<SSLClientSocketImpl> weak_factory_;
375 }; 374 };
376 375
377 } // namespace net 376 } // namespace net
378 377
379 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_IMPL_H_ 378 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_IMPL_H_
OLDNEW
« no previous file with comments | « net/quic/quic_crypto_client_stream.cc ('k') | net/socket/ssl_client_socket_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698