| 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/core/quic_crypto_stream.h" | 5 #include "net/quic/core/quic_crypto_stream.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "net/quic/core/crypto/crypto_handshake.h" | 9 #include "net/quic/core/crypto/crypto_handshake.h" |
| 10 #include "net/quic/core/crypto/crypto_utils.h" | 10 #include "net/quic/core/crypto/crypto_utils.h" |
| 11 #include "net/quic/core/quic_connection.h" | 11 #include "net/quic/core/quic_connection.h" |
| 12 #include "net/quic/core/quic_flags.h" | |
| 13 #include "net/quic/core/quic_session.h" | 12 #include "net/quic/core/quic_session.h" |
| 14 #include "net/quic/core/quic_utils.h" | 13 #include "net/quic/core/quic_utils.h" |
| 15 #include "net/quic/platform/api/quic_flag_utils.h" | 14 #include "net/quic/platform/api/quic_flag_utils.h" |
| 15 #include "net/quic/platform/api/quic_flags.h" |
| 16 #include "net/quic/platform/api/quic_logging.h" | 16 #include "net/quic/platform/api/quic_logging.h" |
| 17 | 17 |
| 18 using std::string; | 18 using std::string; |
| 19 | 19 |
| 20 namespace net { | 20 namespace net { |
| 21 | 21 |
| 22 #define ENDPOINT \ | 22 #define ENDPOINT \ |
| 23 (session()->perspective() == Perspective::IS_SERVER ? "Server: " : "Client:" \ | 23 (session()->perspective() == Perspective::IS_SERVER ? "Server: " : "Client:" \ |
| 24 " ") | 24 " ") |
| 25 | 25 |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 "EXPORTER-Token-Binding", | 118 "EXPORTER-Token-Binding", |
| 119 /* context= */ "", 32, result); | 119 /* context= */ "", 32, result); |
| 120 } | 120 } |
| 121 | 121 |
| 122 const QuicCryptoNegotiatedParameters& | 122 const QuicCryptoNegotiatedParameters& |
| 123 QuicCryptoStream::crypto_negotiated_params() const { | 123 QuicCryptoStream::crypto_negotiated_params() const { |
| 124 return *crypto_negotiated_params_; | 124 return *crypto_negotiated_params_; |
| 125 } | 125 } |
| 126 | 126 |
| 127 } // namespace net | 127 } // namespace net |
| OLD | NEW |