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

Unified Diff: chrome/browser/media_gallery/media_device_notifications_window_win_unittest.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_unittest.cc
===================================================================
--- chrome/browser/media_gallery/media_device_notifications_window_win_unittest.cc (revision 146883)
+++ chrome/browser/media_gallery/media_device_notifications_window_win_unittest.cc (working copy)
@@ -100,8 +100,12 @@
drive[0] = 'A' + *it;
std::string name("V");
name.append(base::SysWideToUTF8(drive));
- EXPECT_CALL(observer_, OnMediaDeviceAttached(*it, name, FilePath(drive))).
- Times(0);
+ EXPECT_CALL(observer_,
+ OnMediaDeviceAttached(*it,
+ name,
+ base::SystemMonitor::TYPE_PATH,
+ drive))
+ .Times(0);
}
}
window_->OnDeviceChange(DBT_DEVICEARRIVAL,

Powered by Google App Engine
This is Rietveld 408576698