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

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

Issue 12374068: Make it possible to disable udev in linux (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rename device_monitor_linux.* to device_monitor_udev.* Created 7 years, 1 month 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_LINUX_H_ 8 #ifndef CONTENT_BROWSER_DEVICE_MONITOR_LINUX_H_
rjkroege 2013/11/18 22:32:19 you need to change this and the name of the class.
Mostyn Bramley-Moore 2013/11/18 23:32:26 Done.
9 #define CONTENT_BROWSER_DEVICE_MONITOR_LINUX_H_ 9 #define CONTENT_BROWSER_DEVICE_MONITOR_LINUX_H_
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/message_loop/message_loop.h" 13 #include "base/message_loop/message_loop.h"
14 14
15 extern "C" { 15 extern "C" {
16 struct udev_device; 16 struct udev_device;
17 } 17 }
18 18
(...skipping 16 matching lines...) Expand all
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_LINUX_H_ 44 #endif // CONTENT_BROWSER_DEVICE_MONITOR_LINUX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698