Chromium Code Reviews

Unified Diff: chrome/browser/chromeos/cros/mock_mount_library.cc

Issue 7457001: Adding support for mount point different from removable devices to MountLibrary (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: add MountType type to extension_api.json Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/chromeos/cros/mock_mount_library.cc
===================================================================
--- chrome/browser/chromeos/cros/mock_mount_library.cc (revision 93425)
+++ chrome/browser/chromeos/cros/mock_mount_library.cc (working copy)
@@ -40,6 +40,8 @@
.WillByDefault(Invoke(this, &MockMountLibrary::RemoveObserverInternal));
ON_CALL(*this, disks())
.WillByDefault(Invoke(this, &MockMountLibrary::disksInternal));
+ ON_CALL(*this, mount_points())
+ .WillByDefault(Invoke(this, &MockMountLibrary::mountPointsInternal));
}
MockMountLibrary::~MockMountLibrary() {
@@ -128,7 +130,7 @@
.WillRepeatedly(ReturnRef(disks_));
EXPECT_CALL(*this, RequestMountInfoRefresh())
.Times(AnyNumber());
- EXPECT_CALL(*this, MountPath(_))
+ EXPECT_CALL(*this, MountPath(_, _, _))
.Times(AnyNumber());
EXPECT_CALL(*this, UnmountPath(_))
.Times(AnyNumber());

Powered by Google App Engine