Chromium Code Reviews| Index: chrome/browser/chromeos/file_manager/fake_disk_mount_manager.cc |
| diff --git a/chrome/browser/chromeos/file_manager/fake_disk_mount_manager.cc b/chrome/browser/chromeos/file_manager/fake_disk_mount_manager.cc |
| index a01759e5aae93089cd2563477280631075788021..d6cff04140c0868d6628fa33e603296b13ca0f06 100644 |
| --- a/chrome/browser/chromeos/file_manager/fake_disk_mount_manager.cc |
| +++ b/chrome/browser/chromeos/file_manager/fake_disk_mount_manager.cc |
| @@ -13,12 +13,13 @@ FakeDiskMountManager::MountRequest::MountRequest( |
| const std::string& source_path, |
| const std::string& source_format, |
| const std::string& mount_label, |
| - chromeos::MountType type) |
| + chromeos::MountType type, |
| + bool read_only) |
|
hashimoto
2016/08/05 07:27:46
Shouldn't this be MountAccessMode instead of bool?
yamaguchi
2016/08/08 05:53:44
Done.
|
| : source_path(source_path), |
| source_format(source_format), |
| mount_label(mount_label), |
| - type(type) { |
| -} |
| + type(type), |
| + read_only(read_only) {} |
| FakeDiskMountManager::MountRequest::MountRequest(const MountRequest& other) = |
| default; |
| @@ -75,9 +76,10 @@ void FakeDiskMountManager::EnsureMountInfoRefreshed( |
| void FakeDiskMountManager::MountPath(const std::string& source_path, |
| const std::string& source_format, |
| const std::string& mount_label, |
| - chromeos::MountType type) { |
| + chromeos::MountType type, |
| + chromeos::MountAccessMode access_mode) { |
| mount_requests_.push_back( |
| - MountRequest(source_path, source_format, mount_label, type)); |
| + MountRequest(source_path, source_format, mount_label, type, access_mode)); |
| const MountPointInfo mount_point( |
| source_path, |