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

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: few lint nits 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
« no previous file with comments | « chrome/browser/system_monitor/removable_device_notifications_chromeos.cc ('k') | chromeos/chromeos.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 29abf3666200b2423f389229c498751f8d3b609b..f681c99e9418ac60c7cc6bba0c64a4b14cc64947 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);
« no previous file with comments | « chrome/browser/system_monitor/removable_device_notifications_chromeos.cc ('k') | chromeos/chromeos.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698