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

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: Rebase to head Created 7 years, 12 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..fc125aae0abf8df17d69120c7f238e1dcaf322a2 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:
+// !!! should take the notifier as an arg.
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