OLD | NEW |
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 #include "net/quic/quic_write_blocked_list.h" | 5 #include "net/quic/quic_write_blocked_list.h" |
6 | 6 |
7 namespace net { | 7 namespace net { |
8 | 8 |
9 const QuicPriority QuicWriteBlockedList::kHighestPriority = | 9 const QuicPriority QuicWriteBlockedList::kHighestPriority = |
10 static_cast<QuicPriority>(net::kHighestPriority); | 10 static_cast<QuicPriority>(net::kHighestPriority); |
11 const QuicPriority QuicWriteBlockedList::kLowestPriority = | 11 const QuicPriority QuicWriteBlockedList::kLowestPriority = |
12 static_cast<QuicPriority>(net::kLowestPriority); | 12 static_cast<QuicPriority>(net::kLowestPriority); |
13 | 13 |
14 QuicWriteBlockedList::QuicWriteBlockedList(bool avoid_duplicate_streams) | 14 QuicWriteBlockedList::QuicWriteBlockedList() |
15 : base_write_blocked_list_(avoid_duplicate_streams), | 15 : crypto_stream_blocked_(false), headers_stream_blocked_(false) { |
16 crypto_stream_blocked_(false), | |
17 headers_stream_blocked_(false) { | |
18 } | 16 } |
19 | 17 |
20 QuicWriteBlockedList::~QuicWriteBlockedList() {} | 18 QuicWriteBlockedList::~QuicWriteBlockedList() {} |
21 | 19 |
22 } // namespace net | 20 } // namespace net |
OLD | NEW |