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 EXTENSIONS_BROWSER_API_HID_HID_DEVICE_MANAGER_H_ | 5 #ifndef EXTENSIONS_BROWSER_API_HID_HID_DEVICE_MANAGER_H_ |
6 #define EXTENSIONS_BROWSER_API_HID_HID_DEVICE_MANAGER_H_ | 6 #define EXTENSIONS_BROWSER_API_HID_HID_DEVICE_MANAGER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
14 #include "base/threading/thread_checker.h" | 15 #include "base/threading/thread_checker.h" |
15 #include "device/hid/hid_device_info.h" | 16 #include "device/hid/hid_device_info.h" |
16 #include "extensions/browser/browser_context_keyed_api_factory.h" | 17 #include "extensions/browser/browser_context_keyed_api_factory.h" |
17 #include "extensions/common/api/hid.h" | 18 #include "extensions/common/api/hid.h" |
18 | 19 |
19 namespace device { | 20 namespace device { |
20 class HidDeviceFilter; | 21 class HidDeviceFilter; |
21 } | 22 } |
22 | 23 |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 63 |
63 ResourceIdToDeviceIdMap device_ids_; | 64 ResourceIdToDeviceIdMap device_ids_; |
64 DeviceIdToResourceIdMap resource_ids_; | 65 DeviceIdToResourceIdMap resource_ids_; |
65 | 66 |
66 DISALLOW_COPY_AND_ASSIGN(HidDeviceManager); | 67 DISALLOW_COPY_AND_ASSIGN(HidDeviceManager); |
67 }; | 68 }; |
68 | 69 |
69 } // namespace extensions | 70 } // namespace extensions |
70 | 71 |
71 #endif // EXTENSIONS_BROWSER_API_HID_HID_DEVICE_MANAGER_H_ | 72 #endif // EXTENSIONS_BROWSER_API_HID_HID_DEVICE_MANAGER_H_ |
OLD | NEW |