OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #ifndef DEVICE_HID_HID_SERVICE_LINUX_H_ | 5 #ifndef DEVICE_HID_HID_SERVICE_LINUX_H_ |
6 #define DEVICE_HID_HID_SERVICE_LINUX_H_ | 6 #define DEVICE_HID_HID_SERVICE_LINUX_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
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 "build/build_config.h" |
11 #include "device/hid/hid_device_info.h" | 12 #include "device/hid/hid_device_info.h" |
12 #include "device/hid/hid_service.h" | 13 #include "device/hid/hid_service.h" |
13 | 14 |
14 namespace dbus { | 15 namespace dbus { |
15 class FileDescriptor; | 16 class FileDescriptor; |
16 } | 17 } |
17 | 18 |
18 namespace device { | 19 namespace device { |
19 | 20 |
20 class HidConnection; | 21 class HidConnection; |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 // service that owns it. | 54 // service that owns it. |
54 FileThreadHelper* helper_; | 55 FileThreadHelper* helper_; |
55 base::WeakPtrFactory<HidServiceLinux> weak_factory_; | 56 base::WeakPtrFactory<HidServiceLinux> weak_factory_; |
56 | 57 |
57 DISALLOW_COPY_AND_ASSIGN(HidServiceLinux); | 58 DISALLOW_COPY_AND_ASSIGN(HidServiceLinux); |
58 }; | 59 }; |
59 | 60 |
60 } // namespace device | 61 } // namespace device |
61 | 62 |
62 #endif // DEVICE_HID_HID_SERVICE_LINUX_H_ | 63 #endif // DEVICE_HID_HID_SERVICE_LINUX_H_ |
OLD | NEW |