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

Unified Diff: chrome/browser/media_gallery/media_device_notifications_window_win.cc

Issue 10389161: Cleanup: Misc fixes to MediaDeviceNotifications. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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/media_gallery/media_device_notifications_window_win.cc
===================================================================
--- chrome/browser/media_gallery/media_device_notifications_window_win.cc (revision 137377)
+++ chrome/browser/media_gallery/media_device_notifications_window_win.cc (working copy)
@@ -6,6 +6,7 @@
#include <windows.h>
#include <dbt.h>
+
#include <string>
#include "base/file_path.h"
@@ -13,11 +14,10 @@
#include "base/system_monitor/system_monitor.h"
#include "base/win/wrapped_window_proc.h"
-static const wchar_t* const WindowClassName =
- L"Chrome_MediaDeviceNotificationWindow";
-
namespace {
+const wchar_t WindowClassName[] = L"Chrome_MediaDeviceNotificationWindow";
+
LRESULT GetVolumeName(LPCWSTR drive,
LPWSTR volume_name,
unsigned int volume_name_len) {

Powered by Google App Engine
This is Rietveld 408576698