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

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

Issue 2396503002: Fix net_export.h includes. (Closed)
Patch Set: Created 4 years, 2 months 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
OLDNEW
1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2015 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_BUFFER_H_ 5 #ifndef NET_QUIC_QUIC_STREAM_SEQUENCER_BUFFER_H_
6 #define NET_QUIC_QUIC_STREAM_SEQUENCER_BUFFER_H_ 6 #define NET_QUIC_QUIC_STREAM_SEQUENCER_BUFFER_H_
7 7
8 // QuicStreamSequencerBuffer implements QuicStreamSequencerBufferInterface. 8 // QuicStreamSequencerBuffer implements QuicStreamSequencerBufferInterface.
9 // It is a circular stream buffer with random write and 9 // It is a circular stream buffer with random write and
10 // in-sequence read. It consists of a vector of pointers pointing 10 // in-sequence read. It consists of a vector of pointers pointing
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 // size_t consumed = consume_iovs(iovs, iov_count); 60 // size_t consumed = consume_iovs(iovs, iov_count);
61 // buffer.MarkConsumed(consumed); 61 // buffer.MarkConsumed(consumed);
62 62
63 #include <stddef.h> 63 #include <stddef.h>
64 64
65 #include <functional> 65 #include <functional>
66 #include <list> 66 #include <list>
67 #include <memory> 67 #include <memory>
68 68
69 #include "base/macros.h" 69 #include "base/macros.h"
70 #include "net/base/net_export.h"
70 #include "net/quic/core/quic_protocol.h" 71 #include "net/quic/core/quic_protocol.h"
71 72
72 namespace net { 73 namespace net {
73 74
74 namespace test { 75 namespace test {
75 class QuicStreamSequencerBufferPeer; 76 class QuicStreamSequencerBufferPeer;
76 } // namespace test 77 } // namespace test
77 78
78 class NET_EXPORT_PRIVATE QuicStreamSequencerBuffer { 79 class NET_EXPORT_PRIVATE QuicStreamSequencerBuffer {
79 public: 80 public:
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 size_t num_bytes_buffered_; 254 size_t num_bytes_buffered_;
254 255
255 // Stores all the buffered frames' start offset, length and arrival time. 256 // Stores all the buffered frames' start offset, length and arrival time.
256 std::map<QuicStreamOffset, FrameInfo> frame_arrival_time_map_; 257 std::map<QuicStreamOffset, FrameInfo> frame_arrival_time_map_;
257 258
258 DISALLOW_COPY_AND_ASSIGN(QuicStreamSequencerBuffer); 259 DISALLOW_COPY_AND_ASSIGN(QuicStreamSequencerBuffer);
259 }; 260 };
260 } // namespace net 261 } // namespace net
261 262
262 #endif // NET_QUIC_QUIC_STREAM_SEQUENCER_BUFFER_H_ 263 #endif // NET_QUIC_QUIC_STREAM_SEQUENCER_BUFFER_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_stream_sequencer.h ('k') | net/quic/core/quic_stream_sequencer_buffer_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698