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

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: '' Created 9 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/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
This is Rietveld 408576698