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

Unified Diff: content/browser/system_message_window_win.h

Issue 10824086: Add support for device removal/arrival detection with device type. For now this allows us to detect… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix constant name and reduce logging Created 8 years, 5 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
Index: content/browser/system_message_window_win.h
diff --git a/content/browser/system_message_window_win.h b/content/browser/system_message_window_win.h
index fefb4ce20d4245ebfd06e275002d429753e92825..d9df17c4056ff624cd73f7d77cd75780e2f05b1f 100644
--- a/content/browser/system_message_window_win.h
+++ b/content/browser/system_message_window_win.h
@@ -8,6 +8,7 @@
#include <windows.h>
#include "base/basictypes.h"
+#include "base/memory/scoped_ptr.h"
#include "content/common/content_export.h"
class CONTENT_EXPORT SystemMessageWindowWin {
@@ -16,7 +17,7 @@ class CONTENT_EXPORT SystemMessageWindowWin {
virtual ~SystemMessageWindowWin();
- virtual LRESULT OnDeviceChange(UINT event_type, DWORD data);
+ virtual LRESULT OnDeviceChange(UINT event_type, DWORD_PTR data);
private:
void Init();
@@ -37,6 +38,8 @@ class CONTENT_EXPORT SystemMessageWindowWin {
HMODULE instance_;
HWND window_;
+ class DeviceNotifications;
+ scoped_ptr<DeviceNotifications> device_notifications_;
DISALLOW_COPY_AND_ASSIGN(SystemMessageWindowWin);
};
« no previous file with comments | « no previous file | content/browser/system_message_window_win.cc » ('j') | content/browser/system_message_window_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698