| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_HTTP2_PRIORITY_DEPENDENCIES_H_ | 5 #ifndef NET_SPDY_HTTP2_PRIORITY_DEPENDENCIES_H_ |
| 6 #define NET_HTTP2_PRIORITY_DEPENDENCIES_H_ | 6 #define NET_SPDY_HTTP2_PRIORITY_DEPENDENCIES_H_ |
| 7 | 7 |
| 8 #include <list> | 8 #include <list> |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| 11 #include "net/base/net_export.h" | 11 #include "net/base/net_export.h" |
| 12 #include "net/spdy/spdy_protocol.h" | 12 #include "net/spdy/spdy_protocol.h" |
| 13 | 13 |
| 14 namespace net { | 14 namespace net { |
| 15 | 15 |
| 16 // A helper class encapsulating the state and logic to set dependencies of | 16 // A helper class encapsulating the state and logic to set dependencies of |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 IdList id_priority_lists_[kV3LowestPriority + 1]; | 51 IdList id_priority_lists_[kV3LowestPriority + 1]; |
| 52 | 52 |
| 53 // Tracks the location of an id anywhere in the above vector of lists. | 53 // Tracks the location of an id anywhere in the above vector of lists. |
| 54 // Iterators to list elements remain valid until those particular elements | 54 // Iterators to list elements remain valid until those particular elements |
| 55 // are erased. | 55 // are erased. |
| 56 EntryMap entry_by_stream_id_; | 56 EntryMap entry_by_stream_id_; |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 } // namespace net | 59 } // namespace net |
| 60 | 60 |
| 61 #endif // NET_HTTP2_PRIORITY_DEPENDENCIES_H_ | 61 #endif // NET_SPDY_HTTP2_PRIORITY_DEPENDENCIES_H_ |
| OLD | NEW |