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

Unified Diff: components/storage_monitor/storage_monitor_win.h

Issue 231063002: Add notification for media changed, and notify volume mount watcher when it occurs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Linting. Created 6 years, 8 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: components/storage_monitor/storage_monitor_win.h
diff --git a/components/storage_monitor/storage_monitor_win.h b/components/storage_monitor/storage_monitor_win.h
index f59b3c3a9f16478fb2e7218816e2a3a339250fcc..b9a09b29e34764dc98406eb90464d04e9bdb901b 100644
--- a/components/storage_monitor/storage_monitor_win.h
+++ b/components/storage_monitor/storage_monitor_win.h
@@ -31,6 +31,8 @@ class StorageMonitorWin : public StorageMonitor {
PortableDeviceWatcherWin* portable_device_watcher);
virtual ~StorageMonitorWin();
+ void ChangeNotifyRegister();
vandebo (ex-Chrome) 2014/04/11 22:24:26 Make private. RegisterForDeviceChangeNotification
Kevin Bailey 2014/04/22 15:43:03 Done, and proposed better name.
+
// Must be called after the file thread is created.
virtual void Init() OVERRIDE;
@@ -61,6 +63,7 @@ class StorageMonitorWin : public StorageMonitor {
LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wparam,
LPARAM lparam);
+ void OnMediaChanged(WPARAM wparam, LPARAM lparam);
void OnDeviceChange(UINT event_type, LPARAM data);
// The window class of |window_|.
« no previous file with comments | « no previous file | components/storage_monitor/storage_monitor_win.cc » ('j') | components/storage_monitor/storage_monitor_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698