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

Side by Side Diff: ui/events/ozone/device/udev/device_manager_udev.h

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_EVENTS_OZONE_DEVICE_UDEV_DEVICE_MANAGER_UDEV_H_ 5 #ifndef UI_EVENTS_OZONE_DEVICE_UDEV_DEVICE_MANAGER_UDEV_H_
6 #define UI_EVENTS_OZONE_DEVICE_UDEV_DEVICE_MANAGER_UDEV_H_ 6 #define UI_EVENTS_OZONE_DEVICE_UDEV_DEVICE_MANAGER_UDEV_H_
7 7
8 #include "base/message_loop/message_pump_libevent.h" 8 #include "base/message_loop/message_pump_libevent.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "device/udev_linux/udev.h" 10 #include "device/udev_linux/udev.h"
(...skipping 10 matching lines...) Expand all
21 DeviceManagerUdev(); 21 DeviceManagerUdev();
22 virtual ~DeviceManagerUdev(); 22 virtual ~DeviceManagerUdev();
23 23
24 private: 24 private:
25 scoped_ptr<DeviceEvent> ProcessMessage(udev_device* device); 25 scoped_ptr<DeviceEvent> ProcessMessage(udev_device* device);
26 26
27 // Creates a device-monitor to look for device add/remove/change events. 27 // Creates a device-monitor to look for device add/remove/change events.
28 void CreateMonitor(); 28 void CreateMonitor();
29 29
30 // DeviceManager overrides: 30 // DeviceManager overrides:
31 virtual void ScanDevices(DeviceEventObserver* observer) OVERRIDE; 31 virtual void ScanDevices(DeviceEventObserver* observer) override;
32 virtual void AddObserver(DeviceEventObserver* observer) OVERRIDE; 32 virtual void AddObserver(DeviceEventObserver* observer) override;
33 virtual void RemoveObserver(DeviceEventObserver* observer) OVERRIDE; 33 virtual void RemoveObserver(DeviceEventObserver* observer) override;
34 34
35 // base::MessagePumpLibevent::Watcher overrides: 35 // base::MessagePumpLibevent::Watcher overrides:
36 virtual void OnFileCanReadWithoutBlocking(int fd) OVERRIDE; 36 virtual void OnFileCanReadWithoutBlocking(int fd) override;
37 virtual void OnFileCanWriteWithoutBlocking(int fd) OVERRIDE; 37 virtual void OnFileCanWriteWithoutBlocking(int fd) override;
38 38
39 device::ScopedUdevPtr udev_; 39 device::ScopedUdevPtr udev_;
40 device::ScopedUdevMonitorPtr monitor_; 40 device::ScopedUdevMonitorPtr monitor_;
41 41
42 base::MessagePumpLibevent::FileDescriptorWatcher controller_; 42 base::MessagePumpLibevent::FileDescriptorWatcher controller_;
43 43
44 ObserverList<DeviceEventObserver> observers_; 44 ObserverList<DeviceEventObserver> observers_;
45 45
46 DISALLOW_COPY_AND_ASSIGN(DeviceManagerUdev); 46 DISALLOW_COPY_AND_ASSIGN(DeviceManagerUdev);
47 }; 47 };
48 48
49 } // namespace ui 49 } // namespace ui
50 50
51 #endif // UI_EVENTS_OZONE_DEVICE_UDEV_DEVICE_MANAGER_UDEV_H_ 51 #endif // UI_EVENTS_OZONE_DEVICE_UDEV_DEVICE_MANAGER_UDEV_H_
OLDNEW
« no previous file with comments | « ui/events/ozone/device/device_manager_manual.h ('k') | ui/events/ozone/evdev/event_converter_evdev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698