| 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_INPUT_SERVICE_LINUX_H_ | 5 #ifndef DEVICE_HID_INPUT_SERVICE_LINUX_H_ |
| 6 #define DEVICE_HID_INPUT_SERVICE_LINUX_H_ | 6 #define DEVICE_HID_INPUT_SERVICE_LINUX_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| 11 | 11 |
| 12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/containers/hash_tables.h" | 13 #include "base/containers/hash_tables.h" |
| 14 #include "base/macros.h" | 14 #include "base/macros.h" |
| 15 #include "base/memory/scoped_ptr.h" | |
| 16 #include "base/message_loop/message_loop.h" | 15 #include "base/message_loop/message_loop.h" |
| 17 #include "base/observer_list.h" | 16 #include "base/observer_list.h" |
| 18 #include "base/threading/thread_checker.h" | 17 #include "base/threading/thread_checker.h" |
| 19 #include "device/hid/device_monitor_linux.h" | 18 #include "device/hid/device_monitor_linux.h" |
| 20 | 19 |
| 21 namespace device { | 20 namespace device { |
| 22 | 21 |
| 23 // This class provides information and notifications about | 22 // This class provides information and notifications about |
| 24 // connected/disconnected input/HID devices. This class is *NOT* | 23 // connected/disconnected input/HID devices. This class is *NOT* |
| 25 // thread-safe and all methods must be called from the FILE thread. | 24 // thread-safe and all methods must be called from the FILE thread. |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 friend std::default_delete<InputServiceLinux>; | 91 friend std::default_delete<InputServiceLinux>; |
| 93 | 92 |
| 94 base::ThreadChecker thread_checker_; | 93 base::ThreadChecker thread_checker_; |
| 95 | 94 |
| 96 DISALLOW_COPY_AND_ASSIGN(InputServiceLinux); | 95 DISALLOW_COPY_AND_ASSIGN(InputServiceLinux); |
| 97 }; | 96 }; |
| 98 | 97 |
| 99 } // namespace device | 98 } // namespace device |
| 100 | 99 |
| 101 #endif // DEVICE_HID_INPUT_SERVICE_LINUX_H_ | 100 #endif // DEVICE_HID_INPUT_SERVICE_LINUX_H_ |
| OLD | NEW |