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

Side by Side Diff: device/usb/mojo/device_manager_impl.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.h ('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/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 <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/location.h" 11 #include "base/location.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/stl_util.h" 13 #include "base/stl_util.h"
14 #include "device/core/device_client.h" 14 #include "device/core/device_client.h"
15 #include "device/devices_app/usb/device_impl.h" 15 #include "device/usb/mojo/device_impl.h"
16 #include "device/devices_app/usb/public/interfaces/device.mojom.h" 16 #include "device/usb/mojo/type_converters.h"
17 #include "device/devices_app/usb/type_converters.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/public/cpp/bindings/array.h" 21 #include "mojo/public/cpp/bindings/array.h"
22 #include "mojo/public/cpp/bindings/interface_request.h" 22 #include "mojo/public/cpp/bindings/interface_request.h"
23 23
24 namespace device { 24 namespace device {
25 namespace usb { 25 namespace usb {
26 26
27 namespace { 27 namespace {
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
219 callback.Run(std::move(notification)); 219 callback.Run(std::move(notification));
220 device_change_callbacks_.pop(); 220 device_change_callbacks_.pop();
221 } 221 }
222 222
223 if (devices_added_.size() > 0 || !devices_removed_.empty()) 223 if (devices_added_.size() > 0 || !devices_removed_.empty())
224 MaybeRunDeviceChangesCallback(); 224 MaybeRunDeviceChangesCallback();
225 } 225 }
226 226
227 } // namespace usb 227 } // namespace usb
228 } // namespace device 228 } // namespace device
OLDNEW
« no previous file with comments | « device/usb/mojo/device_manager_impl.h ('k') | device/usb/mojo/device_manager_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698