| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/base/test_completion_callback.h" | 5 #include "net/base/test_completion_callback.h" |
| 6 #include "net/socket/socket_test_util.h" | 6 #include "net/socket/socket_test_util.h" |
| 7 #include "testing/platform_test.h" | 7 #include "testing/platform_test.h" |
| 8 | 8 |
| 9 #include "net/flip/flip_session.h" | 9 #include "net/flip/flip_session.h" |
| 10 | 10 |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 int priority = 1; | 46 int priority = 1; |
| 47 while (queue_.size()) { | 47 while (queue_.size()) { |
| 48 PrioritizedIOBuffer buffer = queue_.top(); | 48 PrioritizedIOBuffer buffer = queue_.top(); |
| 49 EXPECT_EQ(priority++, buffer.priority()); | 49 EXPECT_EQ(priority++, buffer.priority()); |
| 50 queue_.pop(); | 50 queue_.pop(); |
| 51 } | 51 } |
| 52 } | 52 } |
| 53 | 53 |
| 54 } // namespace net | 54 } // namespace net |
| 55 | 55 |
| OLD | NEW |