| 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_crypto_client_stream.h" | 5 #include "net/quic/quic_crypto_client_stream.h" |
| 6 | 6 |
| 7 #include <memory> |
| 7 #include <vector> | 8 #include <vector> |
| 8 | 9 |
| 9 #include "base/metrics/histogram_macros.h" | 10 #include "base/metrics/histogram_macros.h" |
| 10 #include "base/metrics/sparse_histogram.h" | 11 #include "base/metrics/sparse_histogram.h" |
| 11 #include "base/strings/stringprintf.h" | 12 #include "base/strings/stringprintf.h" |
| 12 #include "net/quic/crypto/crypto_protocol.h" | 13 #include "net/quic/crypto/crypto_protocol.h" |
| 13 #include "net/quic/crypto/crypto_utils.h" | 14 #include "net/quic/crypto/crypto_utils.h" |
| 14 #include "net/quic/crypto/null_encrypter.h" | 15 #include "net/quic/crypto/null_encrypter.h" |
| 15 #include "net/quic/quic_flags.h" | 16 #include "net/quic/quic_flags.h" |
| 16 #include "net/quic/quic_protocol.h" | 17 #include "net/quic/quic_protocol.h" |
| (...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 694 } | 695 } |
| 695 for (size_t i = 0; i < num_their_proof_demands; i++) { | 696 for (size_t i = 0; i < num_their_proof_demands; i++) { |
| 696 if (their_proof_demands[i] == kCHID) { | 697 if (their_proof_demands[i] == kCHID) { |
| 697 return true; | 698 return true; |
| 698 } | 699 } |
| 699 } | 700 } |
| 700 return false; | 701 return false; |
| 701 } | 702 } |
| 702 | 703 |
| 703 } // namespace net | 704 } // namespace net |
| OLD | NEW |