| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 <stddef.h> |
| 6 #include <stdint.h> |
| 7 |
| 5 #include <map> | 8 #include <map> |
| 6 #include <queue> | 9 #include <queue> |
| 7 #include <set> | 10 #include <set> |
| 8 #include <vector> | 11 #include <vector> |
| 9 | 12 |
| 10 #include "base/bind.h" | 13 #include "base/bind.h" |
| 11 #include "base/macros.h" | 14 #include "base/macros.h" |
| 12 #include "base/message_loop/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
| 13 #include "base/run_loop.h" | 16 #include "base/run_loop.h" |
| 14 #include "base/stl_util.h" | 17 #include "base/stl_util.h" |
| (...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 804 1, 4, 8, 0, base::Bind(&ExpectPacketsAndThen, TRANSFER_STATUS_COMPLETED, | 807 1, 4, 8, 0, base::Bind(&ExpectPacketsAndThen, TRANSFER_STATUS_COMPLETED, |
| 805 packets, loop.QuitClosure())); | 808 packets, loop.QuitClosure())); |
| 806 loop.Run(); | 809 loop.Run(); |
| 807 } | 810 } |
| 808 | 811 |
| 809 EXPECT_CALL(mock_handle(), Close()); | 812 EXPECT_CALL(mock_handle(), Close()); |
| 810 } | 813 } |
| 811 | 814 |
| 812 } // namespace usb | 815 } // namespace usb |
| 813 } // namespace device | 816 } // namespace device |
| OLD | NEW |