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_UDEV_LINUX_UDEV1_LOADER_H_ | 5 #ifndef DEVICE_UDEV_LINUX_UDEV1_LOADER_H_ |
6 #define DEVICE_UDEV_LINUX_UDEV1_LOADER_H_ | 6 #define DEVICE_UDEV_LINUX_UDEV1_LOADER_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "device/udev_linux/udev_loader.h" | 9 #include "device/udev_linux/udev_loader.h" |
10 | 10 |
(...skipping 18 matching lines...) Expand all Loading... |
29 const char* udev_device_get_property_value(udev_device* udev_device, | 29 const char* udev_device_get_property_value(udev_device* udev_device, |
30 const char* key) override; | 30 const char* key) override; |
31 const char* udev_device_get_subsystem(udev_device* udev_device) override; | 31 const char* udev_device_get_subsystem(udev_device* udev_device) override; |
32 const char* udev_device_get_sysattr_value(udev_device* udev_device, | 32 const char* udev_device_get_sysattr_value(udev_device* udev_device, |
33 const char* sysattr) override; | 33 const char* sysattr) override; |
34 const char* udev_device_get_sysname(udev_device* udev_device) override; | 34 const char* udev_device_get_sysname(udev_device* udev_device) override; |
35 const char* udev_device_get_syspath(udev_device* udev_device) override; | 35 const char* udev_device_get_syspath(udev_device* udev_device) override; |
36 udev_device* udev_device_new_from_devnum(udev* udev, | 36 udev_device* udev_device_new_from_devnum(udev* udev, |
37 char type, | 37 char type, |
38 dev_t devnum) override; | 38 dev_t devnum) override; |
| 39 udev_device* udev_device_new_from_subsystem_sysname( |
| 40 udev* udev, |
| 41 const char* subsystem, |
| 42 const char* sysname) override; |
39 udev_device* udev_device_new_from_syspath(udev* udev, | 43 udev_device* udev_device_new_from_syspath(udev* udev, |
40 const char* syspath) override; | 44 const char* syspath) override; |
41 void udev_device_unref(udev_device* udev_device) override; | 45 void udev_device_unref(udev_device* udev_device) override; |
42 int udev_enumerate_add_match_subsystem(udev_enumerate* udev_enumerate, | 46 int udev_enumerate_add_match_subsystem(udev_enumerate* udev_enumerate, |
43 const char* subsystem) override; | 47 const char* subsystem) override; |
44 udev_list_entry* udev_enumerate_get_list_entry( | 48 udev_list_entry* udev_enumerate_get_list_entry( |
45 udev_enumerate* udev_enumerate) override; | 49 udev_enumerate* udev_enumerate) override; |
46 udev_enumerate* udev_enumerate_new(udev* udev) override; | 50 udev_enumerate* udev_enumerate_new(udev* udev) override; |
47 int udev_enumerate_scan_devices(udev_enumerate* udev_enumerate) override; | 51 int udev_enumerate_scan_devices(udev_enumerate* udev_enumerate) override; |
48 void udev_enumerate_unref(udev_enumerate* udev_enumerate) override; | 52 void udev_enumerate_unref(udev_enumerate* udev_enumerate) override; |
(...skipping 21 matching lines...) Expand all Loading... |
70 void udev_unref(udev* udev) override; | 74 void udev_unref(udev* udev) override; |
71 | 75 |
72 scoped_ptr<LibUdev1Loader> lib_loader_; | 76 scoped_ptr<LibUdev1Loader> lib_loader_; |
73 | 77 |
74 DISALLOW_COPY_AND_ASSIGN(Udev1Loader); | 78 DISALLOW_COPY_AND_ASSIGN(Udev1Loader); |
75 }; | 79 }; |
76 | 80 |
77 } // namespace device | 81 } // namespace device |
78 | 82 |
79 #endif // DEVICE_UDEV_LINUX_UDEV1_LOADER_H_ | 83 #endif // DEVICE_UDEV_LINUX_UDEV1_LOADER_H_ |
OLD | NEW |