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

Unified Diff: chrome/browser/system_monitor/volume_mount_watcher_win.h

Issue 11573048: [Media Galleries] Move RemovableStorageInfo notifications to chrome namespace (part 2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make singleton pointer live in base class. Created 7 years, 11 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: chrome/browser/system_monitor/volume_mount_watcher_win.h
diff --git a/chrome/browser/system_monitor/volume_mount_watcher_win.h b/chrome/browser/system_monitor/volume_mount_watcher_win.h
index 0dadca7111e09bab7f05008bdcc32369b85bbec3..7b38ba2495d435b21ebad3d8f31cec30352c53ff 100644
--- a/chrome/browser/system_monitor/volume_mount_watcher_win.h
+++ b/chrome/browser/system_monitor/volume_mount_watcher_win.h
@@ -13,16 +13,17 @@
#include "base/file_path.h"
#include "base/memory/ref_counted.h"
#include "base/string16.h"
-#include "base/system_monitor/system_monitor.h"
namespace chrome {
// This class watches the volume mount points and sends notifications to
-// base::SystemMonitor about the device attach/detach events. This is a
-// singleton class instantiated by RemovableDeviceNotificationsWindowWin.
+// RemovableStorageNotifications about the device attach/detach events.
+// This is a singleton class instantiated by
+// RemovableDeviceNotificationsWindowWin.
class VolumeMountWatcherWin
: public base::RefCountedThreadSafe<VolumeMountWatcherWin> {
public:
+ // TODO(gbillock): Take the RemovableStorageNotifications as an argument.
vandebo (ex-Chrome) 2013/01/18 18:42:58 This is so that you could call ProcessAttach/Detac
Greg Billock 2013/01/22 20:00:39 Yes, that's the goal -- basically the platform-spe
VolumeMountWatcherWin();
// Must be called after the file thread is created.
@@ -36,7 +37,7 @@ class VolumeMountWatcherWin
string16* name,
bool* removable);
- // Processes DEV_BROADCAST_VOLUME messages and triggers a SystemMonitor
+ // Processes DEV_BROADCAST_VOLUME messages and triggers a
// notification if appropriate.
void OnWindowMessage(UINT event_type, LPARAM data);

Powered by Google App Engine
This is Rietveld 408576698