OLD | NEW |
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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_TOOLS_QUIC_CHLO_EXTRACTOR_H_ | 5 #ifndef NET_TOOLS_QUIC_CHLO_EXTRACTOR_H_ |
6 #define NET_TOOLS_QUIC_CHLO_EXTRACTOR_H_ | 6 #define NET_TOOLS_QUIC_CHLO_EXTRACTOR_H_ |
7 | 7 |
8 #include "net/quic/crypto/crypto_handshake_message.h" | 8 #include "net/quic/core/crypto/crypto_handshake_message.h" |
9 #include "net/quic/quic_protocol.h" | 9 #include "net/quic/core/quic_protocol.h" |
10 | 10 |
11 namespace net { | 11 namespace net { |
12 | 12 |
13 // A utility for extracting QUIC Client Hello messages from packets, | 13 // A utility for extracting QUIC Client Hello messages from packets, |
14 // without needs to spin up a full QuicSession. | 14 // without needs to spin up a full QuicSession. |
15 class ChloExtractor { | 15 class ChloExtractor { |
16 public: | 16 public: |
17 class Delegate { | 17 class Delegate { |
18 public: | 18 public: |
19 virtual ~Delegate() {} | 19 virtual ~Delegate() {} |
(...skipping 11 matching lines...) Expand all Loading... |
31 const QuicVersionVector& versions, | 31 const QuicVersionVector& versions, |
32 Delegate* delegate); | 32 Delegate* delegate); |
33 | 33 |
34 ChloExtractor(ChloExtractor&) = delete; | 34 ChloExtractor(ChloExtractor&) = delete; |
35 ChloExtractor operator=(const ChloExtractor&) = delete; | 35 ChloExtractor operator=(const ChloExtractor&) = delete; |
36 }; | 36 }; |
37 | 37 |
38 } // namespace net | 38 } // namespace net |
39 | 39 |
40 #endif // NET_TOOLS_QUIC_CHLO_EXTRACTOR_H_ | 40 #endif // NET_TOOLS_QUIC_CHLO_EXTRACTOR_H_ |
OLD | NEW |