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

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

Issue 10829073: Add DeviceMonitorLinux in BrowserMainLoop. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 // The base class used to detect device change and notify base::SystemMonitor.
6
7 #ifndef CONTENT_BROWSER_DEVICES_MONITOR_DEVICES_MONITOR_H_
8 #define CONTENT_BROWSER_DEVICES_MONITOR_DEVICES_MONITOR_H_
9
10 #include "base/basictypes.h"
11 #include "base/memory/scoped_ptr.h"
12 #include "base/system_monitor/system_monitor.h"
13
14 namespace content {
15
16 class DevicesMonitor {
17 public:
18 static DevicesMonitor* Create();
19
20 DevicesMonitor();
21 virtual ~DevicesMonitor();
22
23 virtual void Start(base::SystemMonitor::DevicesChangedObserver* observer) = 0;
tommi (sloooow) - chröme 2012/07/30 11:07:04 I'm not grokking why we need to support observers
24 virtual void Stop(base::SystemMonitor::DevicesChangedObserver* observer) = 0;
25
26 private:
27 DISALLOW_COPY_AND_ASSIGN(DevicesMonitor);
28 };
29
30 } // namespace content
31
32 #endif // CONTENT_BROWSER_DEVICES_MONITOR_DEVICES_MONITOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698