Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3431)

Unified Diff: device/udev_linux/udev1_loader.cc

Issue 965903003: Add udev_device_new_from_subsystem_sysname to udev, for use in Web MIDI on Linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/udev_linux/udev1_loader.h ('k') | device/udev_linux/udev_loader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/udev_linux/udev1_loader.cc
diff --git a/device/udev_linux/udev1_loader.cc b/device/udev_linux/udev1_loader.cc
index ab741b97af0ac3b1b1b9dc805af4061dd1318a2f..34c2848e5b778561b048b96bbf3c5ab5e1f8665c 100644
--- a/device/udev_linux/udev1_loader.cc
+++ b/device/udev_linux/udev1_loader.cc
@@ -70,6 +70,14 @@ udev_device* Udev1Loader::udev_device_new_from_devnum(udev* udev,
return lib_loader_->udev_device_new_from_devnum(udev, type, devnum);
}
+udev_device* Udev1Loader::udev_device_new_from_subsystem_sysname(
+ udev* udev,
+ const char* subsystem,
+ const char* sysname) {
+ return lib_loader_->udev_device_new_from_subsystem_sysname(
+ udev, subsystem, sysname);
+}
+
udev_device* Udev1Loader::udev_device_new_from_syspath(udev* udev,
const char* syspath) {
return lib_loader_->udev_device_new_from_syspath(udev, syspath);
« no previous file with comments | « device/udev_linux/udev1_loader.h ('k') | device/udev_linux/udev_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698