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

Unified Diff: ui/events/ozone/device/udev/device_manager_udev.h

Issue 291473002: ozone: Initialize a subsystem only if necessary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge-r270817 Created 6 years, 7 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 | « ui/base/cursor/ozone/cursor_factory_ozone.cc ('k') | ui/events/ozone/device/udev/device_manager_udev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/ozone/device/udev/device_manager_udev.h
diff --git a/ui/events/ozone/device/udev/device_manager_udev.h b/ui/events/ozone/device/udev/device_manager_udev.h
index e9be943f236590f2848fd416b8ffccf35488e343..7c15e3b760e9d1db89718728b0f6d89d27cca27b 100644
--- a/ui/events/ozone/device/udev/device_manager_udev.h
+++ b/ui/events/ozone/device/udev/device_manager_udev.h
@@ -24,6 +24,9 @@ class DeviceManagerUdev
private:
scoped_ptr<DeviceEvent> ProcessMessage(udev_device* device);
+ // Creates a device-monitor to look for device add/remove/change events.
+ void CreateMonitor();
+
// DeviceManager overrides:
virtual void ScanDevices(DeviceEventObserver* observer) OVERRIDE;
virtual void AddObserver(DeviceEventObserver* observer) OVERRIDE;
« no previous file with comments | « ui/base/cursor/ozone/cursor_factory_ozone.cc ('k') | ui/events/ozone/device/udev/device_manager_udev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698