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

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

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.h
===================================================================
--- chrome/browser/chromeos/cros/mock_mount_library.h (revision 93425)
+++ chrome/browser/chromeos/cros/mock_mount_library.h (working copy)
@@ -25,9 +25,12 @@
MOCK_METHOD1(AddObserver, void(MountLibrary::Observer*));
MOCK_METHOD1(RemoveObserver, void(MountLibrary::Observer*));
MOCK_CONST_METHOD0(disks, const MountLibrary::DiskMap&(void));
+ MOCK_CONST_METHOD0(mount_points, const MountLibrary::MountPointSet&(void));
MOCK_METHOD0(RequestMountInfoRefresh, void(void));
- MOCK_METHOD1(MountPath, void(const char*));
+ MOCK_METHOD3(MountPath, void(const char*,
+ MountType,
+ const MountPathOptions&));
MOCK_METHOD1(UnmountPath, void(const char*));
MOCK_METHOD3(UnmountDeviceRecursive, void(const char*,
MountLibrary::UnmountDeviceRecursiveCallbackType, void*));
@@ -41,6 +44,9 @@
void AddObserverInternal(MountLibrary::Observer* observer);
void RemoveObserverInternal(MountLibrary::Observer* observer);
const MountLibrary::DiskMap& disksInternal() const { return disks_; }
+ const MountLibrary::MountPointSet& mountPointsInternal() const {
+ return mount_points_;
+ }
void UpdateDeviceChanged(MountLibraryEventType evt,
@@ -52,6 +58,7 @@
// The list of disks found.
MountLibrary::DiskMap disks_;
+ MountLibrary::MountPointSet mount_points_;
DISALLOW_COPY_AND_ASSIGN(MockMountLibrary);
};
« no previous file with comments | « no previous file | chrome/browser/chromeos/cros/mock_mount_library.cc » ('j') | chrome/browser/chromeos/cros/mount_library.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698