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_QUIC_CORE_FRAMES_QUIC_STREAM_FRAME_H_ | 5 #ifndef NET_QUIC_CORE_FRAMES_QUIC_STREAM_FRAME_H_ |
6 #define NET_QUIC_CORE_FRAMES_QUIC_STREAM_FRAME_H_ | 6 #define NET_QUIC_CORE_FRAMES_QUIC_STREAM_FRAME_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/strings/string_piece.h" | 10 #include "base/strings/string_piece.h" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 QuicPacketLength data_length, | 69 QuicPacketLength data_length, |
70 UniqueStreamBuffer buffer); | 70 UniqueStreamBuffer buffer); |
71 | 71 |
72 DISALLOW_COPY_AND_ASSIGN(QuicStreamFrame); | 72 DISALLOW_COPY_AND_ASSIGN(QuicStreamFrame); |
73 }; | 73 }; |
74 static_assert(sizeof(QuicStreamFrame) <= 64, | 74 static_assert(sizeof(QuicStreamFrame) <= 64, |
75 "Keep the QuicStreamFrame size to a cacheline."); | 75 "Keep the QuicStreamFrame size to a cacheline."); |
76 | 76 |
77 } // namespace net | 77 } // namespace net |
78 | 78 |
79 #endif // NET_QUIC_CORE_QUIC_FRAMES_H_ | 79 #endif // NET_QUIC_CORE_FRAMES_QUIC_STREAM_FRAME_H_ |
OLD | NEW |