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

Side by Side Diff: content/browser/device_monitor_udev.h

Issue 637183002: Replace FINAL and OVERRIDE with their C++11 counterparts in content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased the patch 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
« no previous file with comments | « content/browser/device_monitor_mac.mm ('k') | content/browser/file_descriptor_info_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // This class is used to detect device change and notify base::SystemMonitor 5 // This class is used to detect device change and notify base::SystemMonitor
6 // on Linux. 6 // on Linux.
7 7
8 #ifndef CONTENT_BROWSER_DEVICE_MONITOR_UDEV_H_ 8 #ifndef CONTENT_BROWSER_DEVICE_MONITOR_UDEV_H_
9 #define CONTENT_BROWSER_DEVICE_MONITOR_UDEV_H_ 9 #define CONTENT_BROWSER_DEVICE_MONITOR_UDEV_H_
10 10
(...skipping 11 matching lines...) Expand all
22 22
23 class DeviceMonitorLinux : public base::MessageLoop::DestructionObserver { 23 class DeviceMonitorLinux : public base::MessageLoop::DestructionObserver {
24 public: 24 public:
25 DeviceMonitorLinux(); 25 DeviceMonitorLinux();
26 virtual ~DeviceMonitorLinux(); 26 virtual ~DeviceMonitorLinux();
27 27
28 private: 28 private:
29 // This object is deleted on the UI thread after the IO thread has been 29 // This object is deleted on the UI thread after the IO thread has been
30 // destroyed. Need to know when IO thread is being destroyed so that 30 // destroyed. Need to know when IO thread is being destroyed so that
31 // we can delete udev_. 31 // we can delete udev_.
32 virtual void WillDestroyCurrentMessageLoop() OVERRIDE; 32 virtual void WillDestroyCurrentMessageLoop() override;
33 33
34 void Initialize(); 34 void Initialize();
35 void OnDevicesChanged(udev_device* device); 35 void OnDevicesChanged(udev_device* device);
36 36
37 scoped_ptr<UdevLinux> udev_; 37 scoped_ptr<UdevLinux> udev_;
38 38
39 DISALLOW_COPY_AND_ASSIGN(DeviceMonitorLinux); 39 DISALLOW_COPY_AND_ASSIGN(DeviceMonitorLinux);
40 }; 40 };
41 41
42 } // namespace content 42 } // namespace content
43 43
44 #endif // CONTENT_BROWSER_DEVICE_MONITOR_UDEV_H_ 44 #endif // CONTENT_BROWSER_DEVICE_MONITOR_UDEV_H_
OLDNEW
« no previous file with comments | « content/browser/device_monitor_mac.mm ('k') | content/browser/file_descriptor_info_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698