| 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_packet_creator.h" | 5 #include "net/quic/quic_packet_creator.h" |
| 6 | 6 |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 #include <memory> |
| 8 | 9 |
| 9 #include "base/macros.h" | 10 #include "base/macros.h" |
| 10 #include "base/stl_util.h" | 11 #include "base/stl_util.h" |
| 11 #include "net/quic/crypto/null_encrypter.h" | 12 #include "net/quic/crypto/null_encrypter.h" |
| 12 #include "net/quic/crypto/quic_decrypter.h" | 13 #include "net/quic/crypto/quic_decrypter.h" |
| 13 #include "net/quic/crypto/quic_encrypter.h" | 14 #include "net/quic/crypto/quic_encrypter.h" |
| 14 #include "net/quic/quic_flags.h" | 15 #include "net/quic/quic_flags.h" |
| 15 #include "net/quic/quic_simple_buffer_allocator.h" | 16 #include "net/quic/quic_simple_buffer_allocator.h" |
| 16 #include "net/quic/quic_utils.h" | 17 #include "net/quic/quic_utils.h" |
| 17 #include "net/quic/test_tools/mock_random.h" | 18 #include "net/quic/test_tools/mock_random.h" |
| (...skipping 1122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1140 EXPECT_CALL(delegate_, OnUnrecoverableError(_, _, _)); | 1141 EXPECT_CALL(delegate_, OnUnrecoverableError(_, _, _)); |
| 1141 QuicStreamFrame stream_frame(kHeadersStreamId, /*fin=*/false, 0u, | 1142 QuicStreamFrame stream_frame(kHeadersStreamId, /*fin=*/false, 0u, |
| 1142 StringPiece()); | 1143 StringPiece()); |
| 1143 EXPECT_DFATAL(creator_.AddSavedFrame(QuicFrame(&stream_frame)), | 1144 EXPECT_DFATAL(creator_.AddSavedFrame(QuicFrame(&stream_frame)), |
| 1144 "Cannot send stream data without encryption."); | 1145 "Cannot send stream data without encryption."); |
| 1145 } | 1146 } |
| 1146 | 1147 |
| 1147 } // namespace | 1148 } // namespace |
| 1148 } // namespace test | 1149 } // namespace test |
| 1149 } // namespace net | 1150 } // namespace net |
| OLD | NEW |