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

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

Issue 2825083003: Landing Recent QUIC changes until Mon Apr 17 2017 (Closed)
Patch Set: Format Created 3 years, 8 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/core/quic_constants.h ('k') | net/quic/core/quic_crypto_client_stream_test.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 #include "net/quic/core/quic_crypto_client_stream.h" 5 #include "net/quic/core/quic_crypto_client_stream.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "base/metrics/histogram_macros.h" 9 #include "base/metrics/histogram_macros.h"
10 #include "base/metrics/sparse_histogram.h" 10 #include "base/metrics/sparse_histogram.h"
11 #include "net/quic/core/crypto/crypto_protocol.h" 11 #include "net/quic/core/crypto/crypto_protocol.h"
12 #include "net/quic/core/crypto/crypto_utils.h" 12 #include "net/quic/core/crypto/crypto_utils.h"
13 #include "net/quic/core/crypto/null_encrypter.h" 13 #include "net/quic/core/crypto/null_encrypter.h"
14 #include "net/quic/core/quic_flags.h"
15 #include "net/quic/core/quic_packets.h" 14 #include "net/quic/core/quic_packets.h"
16 #include "net/quic/core/quic_session.h" 15 #include "net/quic/core/quic_session.h"
17 #include "net/quic/core/quic_utils.h" 16 #include "net/quic/core/quic_utils.h"
17 #include "net/quic/platform/api/quic_flags.h"
18 #include "net/quic/platform/api/quic_logging.h" 18 #include "net/quic/platform/api/quic_logging.h"
19 #include "net/quic/platform/api/quic_str_cat.h" 19 #include "net/quic/platform/api/quic_str_cat.h"
20 20
21 using std::string; 21 using std::string;
22 22
23 namespace net { 23 namespace net {
24 24
25 const int QuicCryptoClientStream::kMaxClientHellos; 25 const int QuicCryptoClientStream::kMaxClientHellos;
26 26
27 QuicCryptoClientStreamBase::QuicCryptoClientStreamBase(QuicSession* session) 27 QuicCryptoClientStreamBase::QuicCryptoClientStreamBase(QuicSession* session)
(...skipping 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 } 671 }
672 for (size_t i = 0; i < num_their_proof_demands; i++) { 672 for (size_t i = 0; i < num_their_proof_demands; i++) {
673 if (their_proof_demands[i] == kCHID) { 673 if (their_proof_demands[i] == kCHID) {
674 return true; 674 return true;
675 } 675 }
676 } 676 }
677 return false; 677 return false;
678 } 678 }
679 679
680 } // namespace net 680 } // namespace net
OLDNEW
« no previous file with comments | « net/quic/core/quic_constants.h ('k') | net/quic/core/quic_crypto_client_stream_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698