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

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

Issue 2016143002: Expose when PKP is bypassed in SSLInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make CertVerifyResult Great Again. Created 4 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_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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after
363 363
364 TransportSecurityState* transport_security_state_; 364 TransportSecurityState* transport_security_state_;
365 365
366 CTPolicyEnforcer* const policy_enforcer_; 366 CTPolicyEnforcer* const policy_enforcer_;
367 367
368 // pinning_failure_log contains a message produced by 368 // pinning_failure_log contains a message produced by
369 // TransportSecurityState::CheckPublicKeyPins in the event of a 369 // TransportSecurityState::CheckPublicKeyPins in the event of a
370 // pinning failure. It is a (somewhat) human-readable string. 370 // pinning failure. It is a (somewhat) human-readable string.
371 std::string pinning_failure_log_; 371 std::string pinning_failure_log_;
372 372
373 // True if PKP is bypassed due to a local trust anchor.
374 bool pkp_bypassed_;
375
373 BoundNetLog net_log_; 376 BoundNetLog net_log_;
374 base::WeakPtrFactory<SSLClientSocketImpl> weak_factory_; 377 base::WeakPtrFactory<SSLClientSocketImpl> weak_factory_;
375 }; 378 };
376 379
377 } // namespace net 380 } // namespace net
378 381
379 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_IMPL_H_ 382 #endif // NET_SOCKET_SSL_CLIENT_SOCKET_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698