Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(178)

Side by Side Diff: device/usb/mojo/device_manager_impl_unittest.cc

Issue 1969033002: Fix include path for moved thread_task_runner_handle.h header in device/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « device/test/usb_test_gadget_impl.cc ('k') | device/usb/usb_device_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "device/usb/mojo/device_manager_impl.h" 5 #include "device/usb/mojo/device_manager_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <memory> 9 #include <memory>
10 #include <set> 10 #include <set>
11 #include <string> 11 #include <string>
12 #include <utility> 12 #include <utility>
13 13
14 #include "base/barrier_closure.h" 14 #include "base/barrier_closure.h"
15 #include "base/bind.h" 15 #include "base/bind.h"
16 #include "base/macros.h" 16 #include "base/macros.h"
17 #include "base/message_loop/message_loop.h" 17 #include "base/message_loop/message_loop.h"
18 #include "base/run_loop.h" 18 #include "base/run_loop.h"
19 #include "base/thread_task_runner_handle.h" 19 #include "base/threading/thread_task_runner_handle.h"
20 #include "device/core/mock_device_client.h" 20 #include "device/core/mock_device_client.h"
21 #include "device/usb/mock_usb_device.h" 21 #include "device/usb/mock_usb_device.h"
22 #include "device/usb/mock_usb_device_handle.h" 22 #include "device/usb/mock_usb_device_handle.h"
23 #include "device/usb/mock_usb_service.h" 23 #include "device/usb/mock_usb_service.h"
24 #include "device/usb/mojo/device_impl.h" 24 #include "device/usb/mojo/device_impl.h"
25 #include "device/usb/mojo/mock_permission_provider.h" 25 #include "device/usb/mojo/mock_permission_provider.h"
26 #include "testing/gtest/include/gtest/gtest.h" 26 #include "testing/gtest/include/gtest/gtest.h"
27 27
28 using ::testing::Invoke; 28 using ::testing::Invoke;
29 using ::testing::_; 29 using ::testing::_;
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 .WillOnce(ExpectGuidAndThen(device0->guid(), barrier)) 213 .WillOnce(ExpectGuidAndThen(device0->guid(), barrier))
214 .WillOnce(ExpectGuidAndThen(device2->guid(), barrier)); 214 .WillOnce(ExpectGuidAndThen(device2->guid(), barrier));
215 EXPECT_CALL(mock_client, DoOnDeviceAdded(_)) 215 EXPECT_CALL(mock_client, DoOnDeviceAdded(_))
216 .WillOnce(ExpectGuidAndThen(device3->guid(), barrier)); 216 .WillOnce(ExpectGuidAndThen(device3->guid(), barrier));
217 loop.Run(); 217 loop.Run();
218 } 218 }
219 } 219 }
220 220
221 } // namespace usb 221 } // namespace usb
222 } // namespace device 222 } // namespace device
OLDNEW
« no previous file with comments | « device/test/usb_test_gadget_impl.cc ('k') | device/usb/usb_device_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698