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

Unified Diff: chrome/browser/chromeos/disks/mock_disk_mount_manager.h

Issue 10830003: Extract and dispatch device uuid in media device attached notification message. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 8 years, 5 months 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/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);
« no previous file with comments | « chrome/browser/chromeos/disks/disk_mount_manager.cc ('k') | chrome/browser/chromeos/disks/mock_disk_mount_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698