| 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_FRAME_H_ | 5 #ifndef NET_QUIC_CORE_FRAMES_QUIC_FRAME_H_ |
| 6 #define NET_QUIC_CORE_FRAMES_QUIC_FRAME_H_ | 6 #define NET_QUIC_CORE_FRAMES_QUIC_FRAME_H_ |
| 7 | 7 |
| 8 #include <ostream> |
| 8 #include <vector> | 9 #include <vector> |
| 9 | 10 |
| 10 #include "net/quic/core/frames/quic_ack_frame.h" | 11 #include "net/quic/core/frames/quic_ack_frame.h" |
| 11 #include "net/quic/core/frames/quic_blocked_frame.h" | 12 #include "net/quic/core/frames/quic_blocked_frame.h" |
| 12 #include "net/quic/core/frames/quic_connection_close_frame.h" | 13 #include "net/quic/core/frames/quic_connection_close_frame.h" |
| 13 #include "net/quic/core/frames/quic_frame.h" | 14 #include "net/quic/core/frames/quic_frame.h" |
| 14 #include "net/quic/core/frames/quic_goaway_frame.h" | 15 #include "net/quic/core/frames/quic_goaway_frame.h" |
| 15 #include "net/quic/core/frames/quic_mtu_discovery_frame.h" | 16 #include "net/quic/core/frames/quic_mtu_discovery_frame.h" |
| 16 #include "net/quic/core/frames/quic_padding_frame.h" | 17 #include "net/quic/core/frames/quic_padding_frame.h" |
| 17 #include "net/quic/core/frames/quic_path_close_frame.h" | 18 #include "net/quic/core/frames/quic_path_close_frame.h" |
| 18 #include "net/quic/core/frames/quic_ping_frame.h" | 19 #include "net/quic/core/frames/quic_ping_frame.h" |
| 19 #include "net/quic/core/frames/quic_rst_stream_frame.h" | 20 #include "net/quic/core/frames/quic_rst_stream_frame.h" |
| 20 #include "net/quic/core/frames/quic_stop_waiting_frame.h" | 21 #include "net/quic/core/frames/quic_stop_waiting_frame.h" |
| 21 #include "net/quic/core/frames/quic_stream_frame.h" | 22 #include "net/quic/core/frames/quic_stream_frame.h" |
| 22 #include "net/quic/core/frames/quic_window_update_frame.h" | 23 #include "net/quic/core/frames/quic_window_update_frame.h" |
| 23 #include "net/quic/core/quic_constants.h" | |
| 24 #include "net/quic/core/quic_types.h" | 24 #include "net/quic/core/quic_types.h" |
| 25 #include "net/quic/platform/api/quic_export.h" | 25 #include "net/quic/platform/api/quic_export.h" |
| 26 | 26 |
| 27 namespace net { | 27 namespace net { |
| 28 | 28 |
| 29 struct QUIC_EXPORT_PRIVATE QuicFrame { | 29 struct QUIC_EXPORT_PRIVATE QuicFrame { |
| 30 QuicFrame(); | 30 QuicFrame(); |
| 31 explicit QuicFrame(QuicPaddingFrame padding_frame); | 31 explicit QuicFrame(QuicPaddingFrame padding_frame); |
| 32 explicit QuicFrame(QuicMtuDiscoveryFrame frame); | 32 explicit QuicFrame(QuicMtuDiscoveryFrame frame); |
| 33 explicit QuicFrame(QuicPingFrame frame); | 33 explicit QuicFrame(QuicPingFrame frame); |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 // Deletes all the sub-frames contained in |frames|. | 73 // Deletes all the sub-frames contained in |frames|. |
| 74 QUIC_EXPORT_PRIVATE void DeleteFrames(QuicFrames* frames); | 74 QUIC_EXPORT_PRIVATE void DeleteFrames(QuicFrames* frames); |
| 75 | 75 |
| 76 // Deletes all the QuicStreamFrames for the specified |stream_id|. | 76 // Deletes all the QuicStreamFrames for the specified |stream_id|. |
| 77 QUIC_EXPORT_PRIVATE void RemoveFramesForStream(QuicFrames* frames, | 77 QUIC_EXPORT_PRIVATE void RemoveFramesForStream(QuicFrames* frames, |
| 78 QuicStreamId stream_id); | 78 QuicStreamId stream_id); |
| 79 | 79 |
| 80 } // namespace net | 80 } // namespace net |
| 81 | 81 |
| 82 #endif // NET_QUIC_CORE_FRAMES_QUIC_FRAME_H_ | 82 #endif // NET_QUIC_CORE_FRAMES_QUIC_FRAME_H_ |
| OLD | NEW |