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_H_ | 5 #ifndef DEVICE_HID_HID_SERVICE_H_ |
6 #define DEVICE_HID_HID_SERVICE_H_ | 6 #define DEVICE_HID_HID_SERVICE_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/bind_helpers.h" | 12 #include "base/bind_helpers.h" |
| 13 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
14 #include "base/observer_list.h" | 15 #include "base/observer_list.h" |
15 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
16 #include "base/threading/thread_checker.h" | 17 #include "base/threading/thread_checker.h" |
17 #include "device/hid/hid_device_info.h" | 18 #include "device/hid/hid_device_info.h" |
18 | 19 |
19 namespace device { | 20 namespace device { |
20 | 21 |
21 class HidConnection; | 22 class HidConnection; |
22 | 23 |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 bool enumeration_ready_; | 88 bool enumeration_ready_; |
88 std::vector<GetDevicesCallback> pending_enumerations_; | 89 std::vector<GetDevicesCallback> pending_enumerations_; |
89 base::ObserverList<Observer, true> observer_list_; | 90 base::ObserverList<Observer, true> observer_list_; |
90 | 91 |
91 DISALLOW_COPY_AND_ASSIGN(HidService); | 92 DISALLOW_COPY_AND_ASSIGN(HidService); |
92 }; | 93 }; |
93 | 94 |
94 } // namespace device | 95 } // namespace device |
95 | 96 |
96 #endif // DEVICE_HID_HID_SERVICE_H_ | 97 #endif // DEVICE_HID_HID_SERVICE_H_ |
OLD | NEW |