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

Side by Side Diff: device/usb/usb_service_linux.h

Issue 2542903002: device: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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/usb_service_impl.h ('k') | device/vr/android/gvr/gvr_device_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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 <list> 5 #include <list>
6 #include <memory> 6 #include <memory>
7 #include <unordered_map> 7 #include <unordered_map>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
11 #include "device/usb/usb_service.h" 11 #include "device/usb/usb_service.h"
12 12
13 namespace base { 13 namespace base {
14 class SequencedTaskRunner; 14 class SequencedTaskRunner;
15 class SingleThreadTaskRunner;
16 } 15 }
17 16
18 namespace device { 17 namespace device {
19 18
20 struct UsbDeviceDescriptor; 19 struct UsbDeviceDescriptor;
21 class UsbDeviceLinux; 20 class UsbDeviceLinux;
22 21
23 class UsbServiceLinux : public UsbService { 22 class UsbServiceLinux : public UsbService {
24 public: 23 public:
25 explicit UsbServiceLinux( 24 explicit UsbServiceLinux(
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 60
62 std::unique_ptr<FileThreadHelper> helper_; 61 std::unique_ptr<FileThreadHelper> helper_;
63 DeviceMap devices_by_path_; 62 DeviceMap devices_by_path_;
64 63
65 base::WeakPtrFactory<UsbServiceLinux> weak_factory_; 64 base::WeakPtrFactory<UsbServiceLinux> weak_factory_;
66 65
67 DISALLOW_COPY_AND_ASSIGN(UsbServiceLinux); 66 DISALLOW_COPY_AND_ASSIGN(UsbServiceLinux);
68 }; 67 };
69 68
70 } // namespace device 69 } // namespace device
OLDNEW
« no previous file with comments | « device/usb/usb_service_impl.h ('k') | device/vr/android/gvr/gvr_device_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698