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

Unified Diff: device/udev_linux/udev.h

Issue 989913002: Move UdevDecodeString from media/midi to device/udev_linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@seq3
Patch Set: Fix unit tests Created 5 years, 9 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/device_tests.gyp ('k') | device/udev_linux/udev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/udev_linux/udev.h
diff --git a/device/udev_linux/udev.h b/device/udev_linux/udev.h
index 3039aa269b1e929f44cdb6a58ce641a05d3e0a24..d62db6b5aaf329907f08be568191eb7c8c1e42de 100644
--- a/device/udev_linux/udev.h
+++ b/device/udev_linux/udev.h
@@ -79,6 +79,9 @@ void udev_unref(udev* udev);
std::string UdevDeviceGetPropertyValue(udev_device* udev_device,
const char* key);
+// Decodes udev-encoded string. Useful for decoding "*_ENC" udev properties.
+std::string UdevDecodeString(const std::string& encoded);
+
} // namespace device
#endif // DEVICE_UDEV_LINUX_UDEV_H_
« no previous file with comments | « device/device_tests.gyp ('k') | device/udev_linux/udev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698