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

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

Issue 2417043002: Move device/core files to device/base directory. (Closed)
Patch Set: Fix ChromeOS build Created 4 years, 2 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/BUILD.gn ('k') | device/usb/mojo/device_manager_impl_unittest.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 <utility> 10 #include <utility>
11 11
12 #include "base/bind.h" 12 #include "base/bind.h"
13 #include "device/core/device_client.h" 13 #include "device/base/device_client.h"
14 #include "device/usb/mojo/device_impl.h" 14 #include "device/usb/mojo/device_impl.h"
15 #include "device/usb/mojo/permission_provider.h" 15 #include "device/usb/mojo/permission_provider.h"
16 #include "device/usb/mojo/type_converters.h" 16 #include "device/usb/mojo/type_converters.h"
17 #include "device/usb/public/interfaces/device.mojom.h" 17 #include "device/usb/public/interfaces/device.mojom.h"
18 #include "device/usb/usb_device.h" 18 #include "device/usb/usb_device.h"
19 #include "device/usb/usb_device_filter.h" 19 #include "device/usb/usb_device_filter.h"
20 #include "device/usb/usb_service.h" 20 #include "device/usb/usb_service.h"
21 #include "mojo/common/common_type_converters.h" 21 #include "mojo/common/common_type_converters.h"
22 #include "mojo/public/cpp/bindings/array.h" 22 #include "mojo/public/cpp/bindings/array.h"
23 #include "mojo/public/cpp/bindings/interface_request.h" 23 #include "mojo/public/cpp/bindings/interface_request.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 permission_provider_->HasDevicePermission(device)) 115 permission_provider_->HasDevicePermission(device))
116 client_->OnDeviceRemoved(DeviceInfo::From(*device)); 116 client_->OnDeviceRemoved(DeviceInfo::From(*device));
117 } 117 }
118 118
119 void DeviceManagerImpl::WillDestroyUsbService() { 119 void DeviceManagerImpl::WillDestroyUsbService() {
120 delete this; 120 delete this;
121 } 121 }
122 122
123 } // namespace usb 123 } // namespace usb
124 } // namespace device 124 } // namespace device
OLDNEW
« no previous file with comments | « device/usb/mojo/BUILD.gn ('k') | device/usb/mojo/device_manager_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698