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

Side by Side Diff: net/quic/quic_chromium_client_session.cc

Issue 1652603002: Add information to SSLInfo about CT EV policy compliance (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rsleevi nits Created 4 years, 10 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/crypto/proof_verifier_chromium_test.cc ('k') | net/socket/ssl_client_socket_nss.h » ('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 #include "net/quic/quic_chromium_client_session.h" 5 #include "net/quic/quic_chromium_client_session.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/callback_helpers.h" 9 #include "base/callback_helpers.h"
10 #include "base/location.h" 10 #include "base/location.h"
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 ssl_info->is_issued_by_known_root = 500 ssl_info->is_issued_by_known_root =
501 cert_verify_result_->is_issued_by_known_root; 501 cert_verify_result_->is_issued_by_known_root;
502 502
503 ssl_info->connection_status = ssl_connection_status; 503 ssl_info->connection_status = ssl_connection_status;
504 ssl_info->client_cert_sent = false; 504 ssl_info->client_cert_sent = false;
505 ssl_info->channel_id_sent = crypto_stream_->WasChannelIDSent(); 505 ssl_info->channel_id_sent = crypto_stream_->WasChannelIDSent();
506 ssl_info->security_bits = security_bits; 506 ssl_info->security_bits = security_bits;
507 ssl_info->handshake_type = SSLInfo::HANDSHAKE_FULL; 507 ssl_info->handshake_type = SSLInfo::HANDSHAKE_FULL;
508 ssl_info->pinning_failure_log = pinning_failure_log_; 508 ssl_info->pinning_failure_log = pinning_failure_log_;
509 509
510 ssl_info->UpdateSignedCertificateTimestamps(*ct_verify_result_); 510 ssl_info->UpdateCertificateTransparencyInfo(*ct_verify_result_);
511 511
512 return true; 512 return true;
513 } 513 }
514 514
515 int QuicChromiumClientSession::CryptoConnect( 515 int QuicChromiumClientSession::CryptoConnect(
516 bool require_confirmation, 516 bool require_confirmation,
517 const CompletionCallback& callback) { 517 const CompletionCallback& callback) {
518 require_confirmation_ = require_confirmation; 518 require_confirmation_ = require_confirmation;
519 handshake_start_ = base::TimeTicks::Now(); 519 handshake_start_ = base::TimeTicks::Now();
520 RecordHandshakeState(STATE_STARTED); 520 RecordHandshakeState(STATE_STARTED);
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
1017 } 1017 }
1018 1018
1019 const DatagramClientSocket* QuicChromiumClientSession::GetDefaultSocket() 1019 const DatagramClientSocket* QuicChromiumClientSession::GetDefaultSocket()
1020 const { 1020 const {
1021 DCHECK(sockets_.back().get() != nullptr); 1021 DCHECK(sockets_.back().get() != nullptr);
1022 // The most recently added socket is the currently active one. 1022 // The most recently added socket is the currently active one.
1023 return sockets_.back().get(); 1023 return sockets_.back().get();
1024 } 1024 }
1025 1025
1026 } // namespace net 1026 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/crypto/proof_verifier_chromium_test.cc ('k') | net/socket/ssl_client_socket_nss.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698