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

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

Issue 10873072: Rename SystemMonitor's MediaDevice calls to RemovableStorage. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 4 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 153336)
+++ chrome/browser/media_gallery/media_device_notifications_window_win_unittest.cc (working copy)
@@ -104,7 +104,7 @@
FilePath::StringType name = L"V" + drive;
std::string device_id = MediaStorageUtil::MakeDeviceId(
MediaStorageUtil::USB_MASS_STORAGE_WITH_DCIM, base::IntToString(*it));
- EXPECT_CALL(observer_, OnMediaDeviceAttached(device_id, name, drive))
+ EXPECT_CALL(observer_, OnRemovableStorageAttached(device_id, name, drive))
.Times(0);
}
}
@@ -128,7 +128,7 @@
volume_broadcast.dbcv_unitmask |= 0x1 << *it;
std::string device_id = MediaStorageUtil::MakeDeviceId(
MediaStorageUtil::USB_MASS_STORAGE_WITH_DCIM, base::IntToString(*it));
- EXPECT_CALL(observer_, OnMediaDeviceDetached(device_id)).Times(0);
+ EXPECT_CALL(observer_, OnRemovableStorageDetached(device_id)).Times(0);
}
}
window_->OnDeviceChange(DBT_DEVICEREMOVECOMPLETE,

Powered by Google App Engine
This is Rietveld 408576698