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_stream.h" | 5 #include "net/quic/core/quic_crypto_stream.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/strings/string_piece.h" | 9 #include "base/strings/string_piece.h" |
10 #include "net/quic/crypto/crypto_handshake.h" | 10 #include "net/quic/core/crypto/crypto_handshake.h" |
11 #include "net/quic/crypto/crypto_utils.h" | 11 #include "net/quic/core/crypto/crypto_utils.h" |
12 #include "net/quic/quic_connection.h" | 12 #include "net/quic/core/quic_connection.h" |
13 #include "net/quic/quic_flags.h" | 13 #include "net/quic/core/quic_flags.h" |
14 #include "net/quic/quic_session.h" | 14 #include "net/quic/core/quic_session.h" |
15 #include "net/quic/quic_utils.h" | 15 #include "net/quic/core/quic_utils.h" |
16 | 16 |
17 using std::string; | 17 using std::string; |
18 using base::StringPiece; | 18 using base::StringPiece; |
19 using net::SpdyPriority; | 19 using net::SpdyPriority; |
20 | 20 |
21 namespace net { | 21 namespace net { |
22 | 22 |
23 #define ENDPOINT \ | 23 #define ENDPOINT \ |
24 (session()->perspective() == Perspective::IS_SERVER ? "Server: " : "Client:" \ | 24 (session()->perspective() == Perspective::IS_SERVER ? "Server: " : "Client:" \ |
25 " ") | 25 " ") |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 crypto_negotiated_params_.initial_subkey_secret, "EXPORTER-Token-Binding", | 103 crypto_negotiated_params_.initial_subkey_secret, "EXPORTER-Token-Binding", |
104 /* context= */ "", 32, result); | 104 /* context= */ "", 32, result); |
105 } | 105 } |
106 | 106 |
107 const QuicCryptoNegotiatedParameters& | 107 const QuicCryptoNegotiatedParameters& |
108 QuicCryptoStream::crypto_negotiated_params() const { | 108 QuicCryptoStream::crypto_negotiated_params() const { |
109 return crypto_negotiated_params_; | 109 return crypto_negotiated_params_; |
110 } | 110 } |
111 | 111 |
112 } // namespace net | 112 } // namespace net |
OLD | NEW |