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

Unified Diff: content/browser/device_monitor_mac.h

Issue 10827163: add device monitoring on Mac. (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | content/browser/device_monitor_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/device_monitor_mac.h
===================================================================
--- content/browser/device_monitor_mac.h (revision 0)
+++ content/browser/device_monitor_mac.h (revision 0)
@@ -0,0 +1,29 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_BROWSER_DEVICE_MONITOR_MAC_H_
+#define CONTENT_BROWSER_DEVICE_MONITOR_MAC_H_
+
+#include <IOKit/IOKitLib.h>
+
+#include "base/basictypes.h"
+
+namespace content {
+
+class DeviceMonitorMac {
+ public:
+ DeviceMonitorMac();
+ ~DeviceMonitorMac();
+
+ private:
+ void RegisterCallbacks(IONotificationPortRef port);
+
+ // Do we need UnregisterCallbacks()?
+
+ DISALLOW_COPY_AND_ASSIGN(DeviceMonitorMac);
+};
+
+} // namespace content
+
+#endif // CONTENT_BROWSER_DEVICE_MONITOR_MAC_H_
Property changes on: content/browser/device_monitor_mac.h
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « content/browser/browser_main_loop.cc ('k') | content/browser/device_monitor_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698