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

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

Issue 10781014: Isolated FS for media devices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix shared_build compile error. 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
diff --git a/chrome/browser/media_gallery/media_device_notifications_window_win_unittest.cc b/chrome/browser/media_gallery/media_device_notifications_window_win_unittest.cc
index c83154da849eb9a42e027bf06752753a8c510edc..2766fffe2568b664a5df0be23ce60ee7d7de6a43 100644
--- a/chrome/browser/media_gallery/media_device_notifications_window_win_unittest.cc
+++ b/chrome/browser/media_gallery/media_device_notifications_window_win_unittest.cc
@@ -125,7 +125,10 @@ void MediaDeviceNotificationsWindowWinTest::DoDevicesDetachedTest(
it != device_indices.end();
++it) {
volume_broadcast.dbcv_unitmask |= 0x1 << *it;
- EXPECT_CALL(observer_, OnMediaDeviceDetached(base::IntToString(*it)));
+ std::wstring drive(L"_:\\");
+ drive[0] = 'A' + *it;
+ EXPECT_CALL(observer_, OnMediaDeviceDetached(base::IntToString(*it),
+ drive));
}
}
window_->OnDeviceChange(DBT_DEVICEREMOVECOMPLETE,

Powered by Google App Engine
This is Rietveld 408576698