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

Unified Diff: chrome/browser/system_monitor/removable_device_notifications_chromeos_unittest.cc

Issue 11365142: Small refactoring in DiskMountManager (event reporting; format method). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 1 month 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/system_monitor/removable_device_notifications_chromeos_unittest.cc
diff --git a/chrome/browser/system_monitor/removable_device_notifications_chromeos_unittest.cc b/chrome/browser/system_monitor/removable_device_notifications_chromeos_unittest.cc
index 753854c3cbbf43e561a97fd8cb44e0dc0c39596a..663636b0211176e44be4b6912d9ddae523e74371 100644
--- a/chrome/browser/system_monitor/removable_device_notifications_chromeos_unittest.cc
+++ b/chrome/browser/system_monitor/removable_device_notifications_chromeos_unittest.cc
@@ -88,17 +88,17 @@ class RemovableDeviceNotificationsCrosTest : public testing::Test {
disk_mount_manager_mock_->CreateDiskEntryForMountDevice(
mount_info, unique_id, device_label);
}
- notifications_->MountCompleted(disks::DiskMountManager::MOUNTING,
- error_code,
- mount_info);
+ notifications_->OnMountEvent(disks::DiskMountManager::MOUNTING,
+ error_code,
+ mount_info);
WaitForFileThread();
}
void UnmountDevice(MountError error_code,
const DiskMountManager::MountPointInfo& mount_info) {
- notifications_->MountCompleted(disks::DiskMountManager::UNMOUNTING,
- error_code,
- mount_info);
+ notifications_->OnMountEvent(disks::DiskMountManager::UNMOUNTING,
+ error_code,
+ mount_info);
if (error_code == MOUNT_ERROR_NONE) {
disk_mount_manager_mock_->RemoveDiskEntryForMountDevice(
mount_info);

Powered by Google App Engine
This is Rietveld 408576698