summaryrefslogtreecommitdiffstats
path: root/device/hid/hid_service_linux.h
diff options
context:
space:
mode:
authorreillyg@chromium.org <reillyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-17 17:53:01 +0000
committerreillyg@chromium.org <reillyg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-17 17:53:01 +0000
commitc8f29c25e718ca60f4ff4837d99a0f75ac8977de (patch)
tree1a6a080d0376b56df876afeb1f030c58d4e5128a /device/hid/hid_service_linux.h
parente5bb75a821db601870d8d84dec485100bd46c940 (diff)
downloadchromium_src-c8f29c25e718ca60f4ff4837d99a0f75ac8977de.zip
chromium_src-c8f29c25e718ca60f4ff4837d99a0f75ac8977de.tar.gz
chromium_src-c8f29c25e718ca60f4ff4837d99a0f75ac8977de.tar.bz2
Monitor udev for hidraw devices instead of hid devices.
Watching for new hid devices is racy because the hidraw device rules are still running. Fix the race by explicitly waiting for the hidraw device add event. The properties needed from the hid device can be gotten by fetching the parent of the hidraw device from the sysfs tree. BUG=394200 Review URL: https://codereview.chromium.org/396993010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283810 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'device/hid/hid_service_linux.h')
-rw-r--r--device/hid/hid_service_linux.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/device/hid/hid_service_linux.h b/device/hid/hid_service_linux.h
index 8d5b115..c69096d 100644
--- a/device/hid/hid_service_linux.h
+++ b/device/hid/hid_service_linux.h
@@ -32,8 +32,6 @@ class HidServiceLinux : public HidService,
private:
virtual ~HidServiceLinux();
- static bool FindHidrawDevNode(udev_device* parent, std::string* result);
-
DISALLOW_COPY_AND_ASSIGN(HidServiceLinux);
};