Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(777)

Side by Side Diff: net/tools/quic/chlo_extractor.h

Issue 2322233004: Landing Recent QUIC changes until Sun Sep 4 03:41:00 (Closed)
Patch Set: Remove simulation files from the build. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/quic/test_tools/quic_test_utils.cc ('k') | net/tools/quic/end_to_end_test.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/core/crypto/crypto_handshake_message.h" 8 #include "net/quic/core/crypto/crypto_handshake_message.h"
9 #include "net/quic/core/quic_protocol.h" 9 #include "net/quic/core/quic_protocol.h"
10 10
(...skipping 13 matching lines...) Expand all
24 const CryptoHandshakeMessage& chlo) = 0; 24 const CryptoHandshakeMessage& chlo) = 0;
25 }; 25 };
26 26
27 // Extracts a CHLO message from |packet| and invokes the OnChlo method 27 // Extracts a CHLO message from |packet| and invokes the OnChlo method
28 // of |delegate|. Return true if a CHLO message was found, and false 28 // of |delegate|. Return true if a CHLO message was found, and false
29 // otherwise. 29 // otherwise.
30 static bool Extract(const QuicEncryptedPacket& packet, 30 static bool Extract(const QuicEncryptedPacket& packet,
31 const QuicVersionVector& versions, 31 const QuicVersionVector& versions,
32 Delegate* delegate); 32 Delegate* delegate);
33 33
34 ChloExtractor(ChloExtractor&) = delete; 34 ChloExtractor(const 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_
OLDNEW
« no previous file with comments | « net/quic/test_tools/quic_test_utils.cc ('k') | net/tools/quic/end_to_end_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698