Index: chrome/browser/chromeos/disks/mock_disk_mount_manager.h |
diff --git a/chrome/browser/chromeos/disks/mock_disk_mount_manager.h b/chrome/browser/chromeos/disks/mock_disk_mount_manager.h |
index 0a3d622eb1398e49219fdc0a6edcb6f6c20ecf94..f22e72b03bd9658f99114d5505213fca1bec2ae2 100644 |
--- a/chrome/browser/chromeos/disks/mock_disk_mount_manager.h |
+++ b/chrome/browser/chromeos/disks/mock_disk_mount_manager.h |
@@ -48,6 +48,17 @@ class MockDiskMountManager : public DiskMountManager { |
// Sets up default results for mock methods. |
void SetupDefaultReplies(); |
+ // Creates a fake disk entry for the mounted device. This function is |
+ // primarily for MediaDeviceNotificationsTest. |
Lei Zhang
2012/07/30 23:00:49
You may want to mention this is needed so MediaDev
kmadhusu
2012/07/30 23:08:29
I thought "This function is primarily for MediaDev
|
+ void CreateDiskEntryForMountDevice( |
+ const DiskMountManager::MountPointInfo& mount_info, |
+ const std::string& device_id); |
+ |
+ // Removes the fake disk entry associated with the mounted device. This |
+ // function is primarily for MediaDeviceNotificationsTest. |
+ void RemoveDiskEntryForMountDevice( |
+ const DiskMountManager::MountPointInfo& mount_info); |
+ |
private: |
// Is used to implement AddObserver. |
void AddObserverInternal(DiskMountManager::Observer* observer); |