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 #include "net/spdy/http2_priority_dependencies.h" | 5 #include "net/spdy/chromium/http2_priority_dependencies.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 | 8 |
9 #include "testing/gmock/include/gmock/gmock.h" | 9 #include "testing/gmock/include/gmock/gmock.h" |
10 #include "testing/platform_test.h" | 10 #include "testing/platform_test.h" |
11 | 11 |
12 using ::testing::ContainerEq; | 12 using ::testing::ContainerEq; |
13 | 13 |
14 namespace net { | 14 namespace net { |
15 | 15 |
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 // 2 moves under 4 | 251 // 2 moves under 4 |
252 TestStreamUpdate(second_id, HIGHEST, | 252 TestStreamUpdate(second_id, HIGHEST, |
253 {{third_id, seventh_id}, {second_id, fourth_id}}); | 253 {{third_id, seventh_id}, {second_id, fourth_id}}); |
254 | 254 |
255 // third matches a MEDIUM priority response. | 255 // third matches a MEDIUM priority response. |
256 // 3 moves under 6 | 256 // 3 moves under 6 |
257 TestStreamUpdate(third_id, MEDIUM, {{third_id, sixth_id}}); | 257 TestStreamUpdate(third_id, MEDIUM, {{third_id, sixth_id}}); |
258 } | 258 } |
259 | 259 |
260 } // namespace net | 260 } // namespace net |
OLD | NEW |