OLD | NEW |
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 897 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
908 DCHECK(cached.proof_valid()); | 908 DCHECK(cached.proof_valid()); |
909 | 909 |
910 if (!server_info_) { | 910 if (!server_info_) { |
911 return; | 911 return; |
912 } | 912 } |
913 | 913 |
914 QuicServerInfo::State* state = server_info_->mutable_state(); | 914 QuicServerInfo::State* state = server_info_->mutable_state(); |
915 | 915 |
916 state->server_config = cached.server_config(); | 916 state->server_config = cached.server_config(); |
917 state->source_address_token = cached.source_address_token(); | 917 state->source_address_token = cached.source_address_token(); |
| 918 state->cert_sct = cached.cert_sct(); |
| 919 state->chlo_hash = cached.chlo_hash(); |
918 state->server_config_sig = cached.signature(); | 920 state->server_config_sig = cached.signature(); |
919 state->certs = cached.certs(); | 921 state->certs = cached.certs(); |
920 | 922 |
921 server_info_->Persist(); | 923 server_info_->Persist(); |
922 } | 924 } |
923 | 925 |
924 void QuicChromiumClientSession::OnProofVerifyDetailsAvailable( | 926 void QuicChromiumClientSession::OnProofVerifyDetailsAvailable( |
925 const ProofVerifyDetails& verify_details) { | 927 const ProofVerifyDetails& verify_details) { |
926 const ProofVerifyDetailsChromium* verify_details_chromium = | 928 const ProofVerifyDetailsChromium* verify_details_chromium = |
927 reinterpret_cast<const ProofVerifyDetailsChromium*>(&verify_details); | 929 reinterpret_cast<const ProofVerifyDetailsChromium*>(&verify_details); |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1153 void QuicChromiumClientSession::HandlePromised(QuicStreamId id, | 1155 void QuicChromiumClientSession::HandlePromised(QuicStreamId id, |
1154 QuicStreamId promised_id, | 1156 QuicStreamId promised_id, |
1155 const SpdyHeaderBlock& headers) { | 1157 const SpdyHeaderBlock& headers) { |
1156 QuicClientSessionBase::HandlePromised(id, promised_id, headers); | 1158 QuicClientSessionBase::HandlePromised(id, promised_id, headers); |
1157 net_log_.AddEvent(NetLog::TYPE_QUIC_SESSION_PUSH_PROMISE_RECEIVED, | 1159 net_log_.AddEvent(NetLog::TYPE_QUIC_SESSION_PUSH_PROMISE_RECEIVED, |
1158 base::Bind(&NetLogQuicPushPromiseReceivedCallback, &headers, | 1160 base::Bind(&NetLogQuicPushPromiseReceivedCallback, &headers, |
1159 id, promised_id)); | 1161 id, promised_id)); |
1160 } | 1162 } |
1161 | 1163 |
1162 } // namespace net | 1164 } // namespace net |
OLD | NEW |