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

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

Issue 1682363002: Remove //device/devices_app. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove two files that somehow survived in //device/devices_app. Created 4 years, 10 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/usb/mojo/device_manager_impl.cc ('k') | device/usb/mojo/fake_permission_provider.h » ('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/devices_app/usb/device_manager_impl.h" 5 #include "device/usb/mojo/device_manager_impl.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 #include <utility> 10 #include <utility>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
16 #include "base/run_loop.h" 16 #include "base/run_loop.h"
17 #include "base/thread_task_runner_handle.h" 17 #include "base/thread_task_runner_handle.h"
18 #include "device/core/mock_device_client.h" 18 #include "device/core/mock_device_client.h"
19 #include "device/devices_app/usb/device_impl.h"
20 #include "device/devices_app/usb/fake_permission_provider.h"
21 #include "device/usb/mock_usb_device.h" 19 #include "device/usb/mock_usb_device.h"
22 #include "device/usb/mock_usb_device_handle.h" 20 #include "device/usb/mock_usb_device_handle.h"
23 #include "device/usb/mock_usb_service.h" 21 #include "device/usb/mock_usb_service.h"
22 #include "device/usb/mojo/device_impl.h"
23 #include "device/usb/mojo/fake_permission_provider.h"
24 #include "testing/gtest/include/gtest/gtest.h" 24 #include "testing/gtest/include/gtest/gtest.h"
25 25
26 using ::testing::Invoke; 26 using ::testing::Invoke;
27 using ::testing::_; 27 using ::testing::_;
28 28
29 namespace device { 29 namespace device {
30 namespace usb { 30 namespace usb {
31 31
32 namespace { 32 namespace {
33 33
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 base::RunLoop loop; 209 base::RunLoop loop;
210 device_manager->GetDeviceChanges(base::Bind(&ExpectDeviceChangesAndThen, 210 device_manager->GetDeviceChanges(base::Bind(&ExpectDeviceChangesAndThen,
211 added_guids, removed_guids, 211 added_guids, removed_guids,
212 loop.QuitClosure())); 212 loop.QuitClosure()));
213 loop.Run(); 213 loop.Run();
214 } 214 }
215 } 215 }
216 216
217 } // namespace usb 217 } // namespace usb
218 } // namespace device 218 } // namespace device
OLDNEW
« no previous file with comments | « device/usb/mojo/device_manager_impl.cc ('k') | device/usb/mojo/fake_permission_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698