| 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() | 14 QuicWriteBlockedList::QuicWriteBlockedList(bool avoid_duplicate_streams) |
| 15 : crypto_stream_blocked_(false), | 15 : base_write_blocked_list_(avoid_duplicate_streams), |
| 16 headers_stream_blocked_(false) {} | 16 crypto_stream_blocked_(false), |
| 17 headers_stream_blocked_(false) { |
| 18 } |
| 17 | 19 |
| 18 QuicWriteBlockedList::~QuicWriteBlockedList() {} | 20 QuicWriteBlockedList::~QuicWriteBlockedList() {} |
| 19 | 21 |
| 20 } // namespace net | 22 } // namespace net |
| OLD | NEW |