| 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);
|
| };
|
|
|