OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #ifndef NET_QUIC_CRYPTO_CRYPTO_HANDSHAKE_H_ | 5 #ifndef NET_QUIC_CRYPTO_CRYPTO_HANDSHAKE_H_ |
6 #define NET_QUIC_CRYPTO_CRYPTO_HANDSHAKE_H_ | 6 #define NET_QUIC_CRYPTO_CRYPTO_HANDSHAKE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "base/string_piece.h" | 13 #include "base/strings/string_piece.h" |
14 #include "net/base/ip_endpoint.h" | 14 #include "net/base/ip_endpoint.h" |
15 #include "net/base/net_export.h" | 15 #include "net/base/net_export.h" |
16 #include "net/quic/crypto/crypto_protocol.h" | 16 #include "net/quic/crypto/crypto_protocol.h" |
17 #include "net/quic/quic_time.h" | 17 #include "net/quic/quic_time.h" |
18 | 18 |
19 namespace net { | 19 namespace net { |
20 | 20 |
21 class KeyExchange; | 21 class KeyExchange; |
22 class QuicClock; | 22 class QuicClock; |
23 class QuicDecrypter; | 23 class QuicDecrypter; |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 | 447 |
448 // These members are used to encrypt and decrypt the source address tokens | 448 // These members are used to encrypt and decrypt the source address tokens |
449 // that we receive from and send to clients. | 449 // that we receive from and send to clients. |
450 scoped_ptr<QuicEncrypter> source_address_token_encrypter_; | 450 scoped_ptr<QuicEncrypter> source_address_token_encrypter_; |
451 scoped_ptr<QuicDecrypter> source_address_token_decrypter_; | 451 scoped_ptr<QuicDecrypter> source_address_token_decrypter_; |
452 }; | 452 }; |
453 | 453 |
454 } // namespace net | 454 } // namespace net |
455 | 455 |
456 #endif // NET_QUIC_CRYPTO_CRYPTO_HANDSHAKE_H_ | 456 #endif // NET_QUIC_CRYPTO_CRYPTO_HANDSHAKE_H_ |
OLD | NEW |