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

Side by Side Diff: net/quic/core/quic_stream_sequencer.h

Issue 2531373002: net: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase on top of master branch Created 4 years 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/core/quic_server_session_base.h ('k') | net/quic/core/quic_unacked_packet_map.h » ('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) 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 #ifndef NET_QUIC_QUIC_STREAM_SEQUENCER_H_ 5 #ifndef NET_QUIC_QUIC_STREAM_SEQUENCER_H_
6 #define NET_QUIC_QUIC_STREAM_SEQUENCER_H_ 6 #define NET_QUIC_QUIC_STREAM_SEQUENCER_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "net/base/net_export.h" 13 #include "net/base/net_export.h"
14 #include "net/quic/core/quic_protocol.h" 14 #include "net/quic/core/quic_protocol.h"
15 #include "net/quic/core/quic_stream_sequencer_buffer.h" 15 #include "net/quic/core/quic_stream_sequencer_buffer.h"
16 16
17 namespace net { 17 namespace net {
18 18
19 namespace test { 19 namespace test {
20 class QuicStreamSequencerPeer; 20 class QuicStreamSequencerPeer;
21 } // namespace test 21 } // namespace test
22 22
23 class QuicClock; 23 class QuicClock;
24 class QuicSession;
25 class QuicStream; 24 class QuicStream;
26 25
27 // Buffers frames until we have something which can be passed 26 // Buffers frames until we have something which can be passed
28 // up to the next layer. 27 // up to the next layer.
29 class NET_EXPORT_PRIVATE QuicStreamSequencer { 28 class NET_EXPORT_PRIVATE QuicStreamSequencer {
30 public: 29 public:
31 QuicStreamSequencer(QuicStream* quic_stream, const QuicClock* clock); 30 QuicStreamSequencer(QuicStream* quic_stream, const QuicClock* clock);
32 virtual ~QuicStreamSequencer(); 31 virtual ~QuicStreamSequencer();
33 32
34 // If the frame is the next one we need in order to process in-order data, 33 // If the frame is the next one we need in order to process in-order data,
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 141
143 // If true, all incoming data will be discarded. 142 // If true, all incoming data will be discarded.
144 bool ignore_read_data_; 143 bool ignore_read_data_;
145 144
146 DISALLOW_COPY_AND_ASSIGN(QuicStreamSequencer); 145 DISALLOW_COPY_AND_ASSIGN(QuicStreamSequencer);
147 }; 146 };
148 147
149 } // namespace net 148 } // namespace net
150 149
151 #endif // NET_QUIC_QUIC_STREAM_SEQUENCER_H_ 150 #endif // NET_QUIC_QUIC_STREAM_SEQUENCER_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_server_session_base.h ('k') | net/quic/core/quic_unacked_packet_map.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698