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_framer.h" | 5 #include "net/quic/core/quic_framer.h" |
6 | 6 |
7 #include <string.h> | 7 #include <string.h> |
8 | 8 |
9 #include <algorithm> | 9 #include <algorithm> |
10 #include <map> | 10 #include <map> |
11 #include <memory> | 11 #include <memory> |
12 #include <string> | 12 #include <string> |
13 #include <vector> | 13 #include <vector> |
14 | 14 |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
16 #include "base/memory/ptr_util.h" | 16 #include "base/memory/ptr_util.h" |
17 #include "net/quic/core/crypto/null_decrypter.h" | 17 #include "net/quic/core/crypto/null_decrypter.h" |
18 #include "net/quic/core/crypto/quic_decrypter.h" | 18 #include "net/quic/core/crypto/quic_decrypter.h" |
19 #include "net/quic/core/crypto/quic_encrypter.h" | 19 #include "net/quic/core/crypto/quic_encrypter.h" |
20 #include "net/quic/core/quic_protocol.h" | 20 #include "net/quic/core/quic_packets.h" |
21 #include "net/quic/core/quic_utils.h" | 21 #include "net/quic/core/quic_utils.h" |
22 #include "net/quic/test_tools/quic_framer_peer.h" | 22 #include "net/quic/test_tools/quic_framer_peer.h" |
23 #include "net/quic/test_tools/quic_test_utils.h" | 23 #include "net/quic/test_tools/quic_test_utils.h" |
24 #include "net/test/gtest_util.h" | 24 #include "net/test/gtest_util.h" |
25 | 25 |
26 using base::StringPiece; | 26 using base::StringPiece; |
27 using std::make_pair; | 27 using std::make_pair; |
28 using std::map; | 28 using std::map; |
29 using std::numeric_limits; | 29 using std::numeric_limits; |
30 using std::pair; | 30 using std::pair; |
(...skipping 4195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4226 'o', ' ', 'w', 'o', | 4226 'o', ' ', 'w', 'o', |
4227 'r', 'l', 'd', '!', | 4227 'r', 'l', 'd', '!', |
4228 }; | 4228 }; |
4229 // clang-format on | 4229 // clang-format on |
4230 | 4230 |
4231 QuicFramerFuzzFunc(packet, arraysize(packet)); | 4231 QuicFramerFuzzFunc(packet, arraysize(packet)); |
4232 } | 4232 } |
4233 | 4233 |
4234 } // namespace test | 4234 } // namespace test |
4235 } // namespace net | 4235 } // namespace net |
OLD | NEW |