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

Unified Diff: device/hid/hid_connection_linux.h

Issue 225513005: chrome.hid : enrich device info with Top-Level collections usages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: formatted code (git cl format) Created 6 years, 8 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
Index: device/hid/hid_connection_linux.h
diff --git a/device/hid/hid_connection_linux.h b/device/hid/hid_connection_linux.h
index 67d6299ad42a49933c97c8ebd327d17d0e806ca4..2e90362da10df68dbc187d2bd8aec8266b53386f 100644
--- a/device/hid/hid_connection_linux.h
+++ b/device/hid/hid_connection_linux.h
@@ -16,8 +16,7 @@ namespace device {
class HidConnectionLinux : public HidConnection,
public base::MessagePumpLibevent::Watcher {
public:
- HidConnectionLinux(HidDeviceInfo device_info,
- ScopedUdevDevicePtr udev_raw_device);
+ HidConnectionLinux(HidDeviceInfo device_info, std::string dev_node);
virtual void Read(scoped_refptr<net::IOBufferWithSize> buffer,
const IOCallback& callback) OVERRIDE;
@@ -39,8 +38,6 @@ class HidConnectionLinux : public HidConnection,
friend class base::RefCountedThreadSafe<HidConnectionLinux>;
virtual ~HidConnectionLinux();
- static bool FindHidrawDevNode(udev_device* parent, std::string* result);
-
void ProcessReadQueue();
void Disconnect();

Powered by Google App Engine
This is Rietveld 408576698