| Index: chromeos/disks/disk_mount_manager.cc
|
| diff --git a/chromeos/disks/disk_mount_manager.cc b/chromeos/disks/disk_mount_manager.cc
|
| index 48ecf910f2bfd6f737e2c500e7299569f7471d31..f75e1ac44cda5428cb630ef2a3da1339b68a3dd6 100644
|
| --- a/chromeos/disks/disk_mount_manager.cc
|
| +++ b/chromeos/disks/disk_mount_manager.cc
|
| @@ -68,7 +68,8 @@ class DiskMountManagerImpl : public DiskMountManager {
|
| void MountPath(const std::string& source_path,
|
| const std::string& source_format,
|
| const std::string& mount_label,
|
| - MountType type) override {
|
| + MountType type,
|
| + MountAccessMode access_mode) override {
|
| // Hidden and non-existent devices should not be mounted.
|
| if (type == MOUNT_TYPE_DEVICE) {
|
| DiskMap::const_iterator it = disks_.find(source_path);
|
| @@ -79,7 +80,7 @@ class DiskMountManagerImpl : public DiskMountManager {
|
| }
|
| }
|
| cros_disks_client_->Mount(
|
| - source_path, source_format, mount_label, MOUNT_ACCESS_MODE_READ_WRITE,
|
| + source_path, source_format, mount_label, access_mode,
|
| // When succeeds, OnMountCompleted will be called by
|
| // "MountCompleted" signal instead.
|
| base::Bind(&base::DoNothing),
|
|
|