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

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

Issue 10780023: Change base::SystemMonitor's media device functions to take a type and string16 instead of a FilePa… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix win Created 8 years, 5 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 146883)
+++ chrome/browser/media_gallery/media_device_notifications_window_win.cc (working copy)
@@ -147,7 +147,10 @@
const std::string device_name_utf8(base::SysWideToUTF8(device_name));
base::SystemMonitor* monitor = base::SystemMonitor::Get();
- monitor->ProcessMediaDeviceAttached(id, device_name_utf8, path);
+ monitor->ProcessMediaDeviceAttached(id,
+ device_name_utf8,
+ base::SystemMonitor::TYPE_PATH,
+ path.value());
}
LRESULT CALLBACK MediaDeviceNotificationsWindowWin::WndProc(

Powered by Google App Engine
This is Rietveld 408576698