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

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

Issue 973683003: CL generated with data from dead-code analysis using (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Change_PrrSender_TimeUntilSend_87535917
Patch Set: Created 5 years, 9 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_connection_test.cc ('k') | net/quic/quic_data_reader.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_crypto_client_stream.h" 5 #include "net/quic/quic_crypto_client_stream.h"
6 6
7 #include "base/metrics/histogram.h" 7 #include "base/metrics/histogram.h"
8 #include "base/profiler/scoped_tracker.h" 8 #include "base/profiler/scoped_tracker.h"
9 #include "net/quic/crypto/crypto_protocol.h" 9 #include "net/quic/crypto/crypto_protocol.h"
10 #include "net/quic/crypto/crypto_utils.h" 10 #include "net/quic/crypto/crypto_utils.h"
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 void QuicCryptoClientStream::CryptoConnect() { 128 void QuicCryptoClientStream::CryptoConnect() {
129 next_state_ = STATE_INITIALIZE; 129 next_state_ = STATE_INITIALIZE;
130 DoHandshakeLoop(nullptr); 130 DoHandshakeLoop(nullptr);
131 } 131 }
132 132
133 int QuicCryptoClientStream::num_sent_client_hellos() const { 133 int QuicCryptoClientStream::num_sent_client_hellos() const {
134 return num_client_hellos_; 134 return num_client_hellos_;
135 } 135 }
136 136
137 // Used in Chromium, but not in the server.
137 bool QuicCryptoClientStream::WasChannelIDSent() const { 138 bool QuicCryptoClientStream::WasChannelIDSent() const {
138 return channel_id_sent_; 139 return channel_id_sent_;
139 } 140 }
140 141
141 bool QuicCryptoClientStream::WasChannelIDSourceCallbackRun() const { 142 bool QuicCryptoClientStream::WasChannelIDSourceCallbackRun() const {
142 return channel_id_source_callback_run_; 143 return channel_id_source_callback_run_;
143 } 144 }
144 145
145 void QuicCryptoClientStream::HandleServerConfigUpdateMessage( 146 void QuicCryptoClientStream::HandleServerConfigUpdateMessage(
146 const CryptoHandshakeMessage& server_config_update) { 147 const CryptoHandshakeMessage& server_config_update) {
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 } 656 }
656 } 657 }
657 return false; 658 return false;
658 } 659 }
659 660
660 QuicClientSessionBase* QuicCryptoClientStream::client_session() { 661 QuicClientSessionBase* QuicCryptoClientStream::client_session() {
661 return reinterpret_cast<QuicClientSessionBase*>(session()); 662 return reinterpret_cast<QuicClientSessionBase*>(session());
662 } 663 }
663 664
664 } // namespace net 665 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/quic_connection_test.cc ('k') | net/quic/quic_data_reader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698