OLD | NEW |
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2017 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_SPDY_LIFO_WRITE_SCHEDULER_H_ | 5 #ifndef NET_SPDY_LIFO_WRITE_SCHEDULER_H_ |
6 #define NET_SPDY_LIFO_WRITE_SCHEDULER_H_ | 6 #define NET_SPDY_LIFO_WRITE_SCHEDULER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <tuple> | 10 #include <tuple> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
| 13 #include "net/spdy/core/write_scheduler.h" |
13 #include "net/spdy/platform/api/spdy_string_utils.h" | 14 #include "net/spdy/platform/api/spdy_string_utils.h" |
14 #include "net/spdy/write_scheduler.h" | |
15 | 15 |
16 namespace net { | 16 namespace net { |
17 | 17 |
18 namespace test { | 18 namespace test { |
19 | 19 |
20 template <typename StreamIdType> | 20 template <typename StreamIdType> |
21 class LifoWriteSchedulerPeer; | 21 class LifoWriteSchedulerPeer; |
22 | 22 |
23 } // namespace test | 23 } // namespace test |
24 | 24 |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 if (it == ready_streams_.end()) { | 174 if (it == ready_streams_.end()) { |
175 SPDY_BUG << "Try to remove a stream that is not on list"; | 175 SPDY_BUG << "Try to remove a stream that is not on list"; |
176 return; | 176 return; |
177 } | 177 } |
178 ready_streams_.erase(it); | 178 ready_streams_.erase(it); |
179 } | 179 } |
180 | 180 |
181 } // namespace net | 181 } // namespace net |
182 | 182 |
183 #endif // NET_SPDY_LIFO_WRITE_SCHEDULER_H_ | 183 #endif // NET_SPDY_LIFO_WRITE_SCHEDULER_H_ |
OLD | NEW |