summaryrefslogtreecommitdiffstats
path: root/chrome/browser/chromeos/disks/mock_disk_mount_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/chromeos/disks/mock_disk_mount_manager.h')
-rw-r--r--chrome/browser/chromeos/disks/mock_disk_mount_manager.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/disks/mock_disk_mount_manager.h b/chrome/browser/chromeos/disks/mock_disk_mount_manager.h
index 0a3d622..f22e72b 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.
+ 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);