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_DEVICE_MONITOR_LINUX_H_ | 5 #ifndef DEVICE_HID_DEVICE_MONITOR_LINUX_H_ |
6 #define DEVICE_HID_DEVICE_MONITOR_LINUX_H_ | 6 #define DEVICE_HID_DEVICE_MONITOR_LINUX_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | |
14 #include "base/message_loop/message_loop.h" | 13 #include "base/message_loop/message_loop.h" |
15 #include "base/message_loop/message_pump_libevent.h" | 14 #include "base/message_loop/message_pump_libevent.h" |
16 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
17 #include "base/threading/thread_checker.h" | 16 #include "base/threading/thread_checker.h" |
18 #include "device/udev_linux/scoped_udev.h" | 17 #include "device/udev_linux/scoped_udev.h" |
19 | 18 |
20 struct udev_device; | 19 struct udev_device; |
21 | 20 |
22 namespace device { | 21 namespace device { |
23 | 22 |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 base::ObserverList<Observer, true> observers_; | 66 base::ObserverList<Observer, true> observers_; |
68 | 67 |
69 base::ThreadChecker thread_checker_; | 68 base::ThreadChecker thread_checker_; |
70 | 69 |
71 DISALLOW_COPY_AND_ASSIGN(DeviceMonitorLinux); | 70 DISALLOW_COPY_AND_ASSIGN(DeviceMonitorLinux); |
72 }; | 71 }; |
73 | 72 |
74 } // namespace device | 73 } // namespace device |
75 | 74 |
76 #endif // DEVICE_HID_DEVICE_MONITOR_LINUX_H_ | 75 #endif // DEVICE_HID_DEVICE_MONITOR_LINUX_H_ |
OLD | NEW |