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

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

Issue 10919173: Rename Windows SystemMonitor implementation files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit Created 8 years, 3 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/removable_device_notifications_window_win.h
diff --git a/chrome/browser/system_monitor/media_device_notifications_window_win.h b/chrome/browser/system_monitor/removable_device_notifications_window_win.h
similarity index 66%
rename from chrome/browser/system_monitor/media_device_notifications_window_win.h
rename to chrome/browser/system_monitor/removable_device_notifications_window_win.h
index 26407a70c28cc92788534c011ad7cf86d54f560b..b05782677af63d7eaf2174182c47b9d159c37b4a 100644
--- a/chrome/browser/system_monitor/media_device_notifications_window_win.h
+++ b/chrome/browser/system_monitor/removable_device_notifications_window_win.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_SYSTEM_MONITOR_MEDIA_DEVICE_NOTIFICATIONS_WINDOW_WIN_H_
-#define CHROME_BROWSER_SYSTEM_MONITOR_MEDIA_DEVICE_NOTIFICATIONS_WINDOW_WIN_H_
+#ifndef CHROME_BROWSER_SYSTEM_MONITOR_REMOVABLE_DEVICE_NOTIFICATIONS_WINDOW_WIN_H_
+#define CHROME_BROWSER_SYSTEM_MONITOR_REMOVABLE_DEVICE_NOTIFICATIONS_WINDOW_WIN_H_
#include <windows.h>
@@ -18,19 +18,20 @@ typedef LRESULT (*VolumeNameFunc)(LPCWSTR drive,
unsigned int volume_name_len);
namespace chrome {
-class MediaDeviceNotificationsWindowWin
- : public base::RefCountedThreadSafe<MediaDeviceNotificationsWindowWin> {
+class RemovableDeviceNotificationsWindowWin
+ : public base::RefCountedThreadSafe<RemovableDeviceNotificationsWindowWin> {
public:
- MediaDeviceNotificationsWindowWin();
+ RemovableDeviceNotificationsWindowWin();
// Only for use in unit tests.
- explicit MediaDeviceNotificationsWindowWin(VolumeNameFunc volumeNameFunc);
+ explicit RemovableDeviceNotificationsWindowWin(VolumeNameFunc volumeNameFunc);
LRESULT OnDeviceChange(UINT event_type, DWORD data);
private:
- friend class base::RefCountedThreadSafe<MediaDeviceNotificationsWindowWin>;
+ friend class
+ base::RefCountedThreadSafe<RemovableDeviceNotificationsWindowWin>;
- virtual ~MediaDeviceNotificationsWindowWin();
+ virtual ~RemovableDeviceNotificationsWindowWin();
void Init();
@@ -48,7 +49,7 @@ class MediaDeviceNotificationsWindowWin
const FilePath::StringType& device_name,
const FilePath& path);
- void ProcessMediaDeviceAttachedOnUIThread(
+ void ProcessRemovableDeviceAttachedOnUIThread(
const std::string& id,
const FilePath::StringType& device_name,
const FilePath& path);
@@ -62,9 +63,9 @@ class MediaDeviceNotificationsWindowWin
HWND window_;
VolumeNameFunc volume_name_func_;
- DISALLOW_COPY_AND_ASSIGN(MediaDeviceNotificationsWindowWin);
+ DISALLOW_COPY_AND_ASSIGN(RemovableDeviceNotificationsWindowWin);
};
} // namespace chrome
-#endif // CHROME_BROWSER_SYSTEM_MONITOR_MEDIA_DEVICE_NOTIFICATIONS_WINDOW_WIN_H_
+#endif // CHROME_BROWSER_SYSTEM_MONITOR_REMOVABLE_DEVICE_NOTIFICATIONS_WINDOW_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698