Index: content/browser/device_monitor_udev.cc |
diff --git a/content/browser/device_monitor_udev.cc b/content/browser/device_monitor_udev.cc |
index ddfe053eae2348217141ca34084346cc5a3455aa..6e2b4ec3b0acf71983a17ed37603331e901c9d97 100644 |
--- a/content/browser/device_monitor_udev.cc |
+++ b/content/browser/device_monitor_udev.cc |
@@ -6,13 +6,12 @@ |
#include "content/browser/device_monitor_udev.h" |
-#include <libudev.h> |
- |
#include <string> |
#include "base/system_monitor/system_monitor.h" |
#include "content/browser/udev_linux.h" |
#include "content/public/browser/browser_thread.h" |
+#include "device/udev_linux/udev.h" |
namespace { |
@@ -72,7 +71,7 @@ void DeviceMonitorLinux::OnDevicesChanged(udev_device* device) { |
base::SystemMonitor::DeviceType device_type = |
base::SystemMonitor::DEVTYPE_UNKNOWN; |
- std::string subsystem(udev_device_get_subsystem(device)); |
+ std::string subsystem(device::udev_device_get_subsystem(device)); |
for (size_t i = 0; i < arraysize(kSubsystemMap); ++i) { |
if (subsystem == kSubsystemMap[i].subsystem) { |
device_type = kSubsystemMap[i].device_type; |