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

Unified Diff: chrome/browser/system_monitor/removable_device_notifications_chromeos.h

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
Index: chrome/browser/system_monitor/removable_device_notifications_chromeos.h
diff --git a/chrome/browser/system_monitor/removable_device_notifications_chromeos.h b/chrome/browser/system_monitor/removable_device_notifications_chromeos.h
index a767e8557441c152b02f05c7e4570256a34c4570..05b47636577b33638bad9d6a3958a76ab468e9af 100644
--- a/chrome/browser/system_monitor/removable_device_notifications_chromeos.h
+++ b/chrome/browser/system_monitor/removable_device_notifications_chromeos.h
@@ -45,14 +45,17 @@ class RemovableDeviceNotificationsCros
static RemovableDeviceNotificationsCros* GetInstance();
- virtual void DiskChanged(disks::DiskMountManagerEventType event,
+ virtual void OnDiskEvent(disks::DiskMountManager::DiskEvent event,
const disks::DiskMountManager::Disk* disk) OVERRIDE;
- virtual void DeviceChanged(disks::DiskMountManagerEventType event,
+ virtual void OnDeviceEvent(disks::DiskMountManager::DeviceEvent event,
const std::string& device_path) OVERRIDE;
- virtual void MountCompleted(
- disks::DiskMountManager::MountEvent event_type,
+ virtual void OnMountEvent(
+ disks::DiskMountManager::MountEvent event,
MountError error_code,
const disks::DiskMountManager::MountPointInfo& mount_info) OVERRIDE;
+ virtual void OnFormatEvent(disks::DiskMountManager::FormatEvent event,
+ FormatError error_code,
+ const std::string& device_path) OVERRIDE;
// Finds the device that contains |path| and populates |device_info|.
// Returns false if unable to find the device.

Powered by Google App Engine
This is Rietveld 408576698