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

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

Issue 10830165: Retry: [CrOS] Enumerate existing mount points and check for media devices. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/disks/mock_disk_mount_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f22e72b03bd9658f99114d5505213fca1bec2ae2..78d787b7e65d4d867979a5d76562ffb4fd572629 100644
--- a/chrome/browser/chromeos/disks/mock_disk_mount_manager.h
+++ b/chrome/browser/chromeos/disks/mock_disk_mount_manager.h
@@ -69,6 +69,9 @@ class MockDiskMountManager : public DiskMountManager {
// Is used to implement disks.
const DiskMountManager::DiskMap& disksInternal() const { return disks_; }
+ // This function is primarily for MediaDeviceNotificationsTest.
+ const DiskMountManager::MountPointMap& mountPointsInternal() const;
Lei Zhang 2012/08/03 18:39:54 mountPointsInternalForTest() ?
tbarzic 2012/08/03 18:42:49 I don't think "ForTest" is needed.. this is a mock
kmadhusu 2012/08/03 18:42:51 The current name matches other helper function nam
+
// Notifies observers about device status update.
void NotifyDeviceChanged(DiskMountManagerEventType event,
const std::string& path);
@@ -83,6 +86,9 @@ class MockDiskMountManager : public DiskMountManager {
// The list of disks found.
DiskMountManager::DiskMap disks_;
+ // The list of existing mount points.
+ DiskMountManager::MountPointMap mount_points_;
+
DISALLOW_COPY_AND_ASSIGN(MockDiskMountManager);
};
« no previous file with comments | « no previous file | chrome/browser/chromeos/disks/mock_disk_mount_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698