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

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

Issue 2832973003: Split net/spdy into core and chromium subdirectories. (Closed)
Patch Set: Fix some more build rules. Created 3 years, 8 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
« no previous file with comments | « net/quic/core/quic_spdy_stream.h ('k') | net/quic/core/spdy_utils.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_QUIC_WRITE_BLOCKED_LIST_H_ 5 #ifndef NET_QUIC_CORE_QUIC_WRITE_BLOCKED_LIST_H_
6 #define NET_QUIC_CORE_QUIC_WRITE_BLOCKED_LIST_H_ 6 #define NET_QUIC_CORE_QUIC_WRITE_BLOCKED_LIST_H_
7 7
8 #include <cstddef> 8 #include <cstddef>
9 #include <cstdint> 9 #include <cstdint>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "net/quic/core/quic_packets.h" 12 #include "net/quic/core/quic_packets.h"
13 #include "net/quic/platform/api/quic_export.h" 13 #include "net/quic/platform/api/quic_export.h"
14 #include "net/spdy/priority_write_scheduler.h" 14 #include "net/spdy/core/priority_write_scheduler.h"
15 15
16 namespace net { 16 namespace net {
17 17
18 // Keeps tracks of the QUIC streams that have data to write, sorted by 18 // Keeps tracks of the QUIC streams that have data to write, sorted by
19 // priority. QUIC stream priority order is: 19 // priority. QUIC stream priority order is:
20 // Crypto stream > Headers stream > Data streams by requested priority. 20 // Crypto stream > Headers stream > Data streams by requested priority.
21 class QUIC_EXPORT_PRIVATE QuicWriteBlockedList { 21 class QUIC_EXPORT_PRIVATE QuicWriteBlockedList {
22 private: 22 private:
23 typedef PriorityWriteScheduler<QuicStreamId> QuicPriorityWriteScheduler; 23 typedef PriorityWriteScheduler<QuicStreamId> QuicPriorityWriteScheduler;
24 24
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 bool crypto_stream_blocked_; 165 bool crypto_stream_blocked_;
166 bool headers_stream_blocked_; 166 bool headers_stream_blocked_;
167 167
168 DISALLOW_COPY_AND_ASSIGN(QuicWriteBlockedList); 168 DISALLOW_COPY_AND_ASSIGN(QuicWriteBlockedList);
169 }; 169 };
170 170
171 } // namespace net 171 } // namespace net
172 172
173 #endif // NET_QUIC_CORE_QUIC_WRITE_BLOCKED_LIST_H_ 173 #endif // NET_QUIC_CORE_QUIC_WRITE_BLOCKED_LIST_H_
OLDNEW
« no previous file with comments | « net/quic/core/quic_spdy_stream.h ('k') | net/quic/core/spdy_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698