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

Unified Diff: chromeos/disks/disk_mount_manager.h

Issue 2451603002: Add a method to remount all removable devices in DiskMountManager. (Closed)
Patch Set: Fix comment. Created 4 years, 2 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: chromeos/disks/disk_mount_manager.h
diff --git a/chromeos/disks/disk_mount_manager.h b/chromeos/disks/disk_mount_manager.h
index 39d114dba4b3c59a495af4b7a082cd8ea95d01b3..adc9927bbcc26f7098f6984fde410563db02f74f 100644
--- a/chromeos/disks/disk_mount_manager.h
+++ b/chromeos/disks/disk_mount_manager.h
@@ -294,6 +294,10 @@ class CHROMEOS_EXPORT DiskMountManager {
UnmountOptions options,
const UnmountPathCallback& callback) = 0;
+ // Remounts mounted removable devices to change the read-only mount option.
+ // Devices that can be mounted only in its read-only mode will be ignored.
+ virtual void RemountAllRemovableDrives(chromeos::MountAccessMode mode) = 0;
+
// Formats Device given its mount path. Unmounts the device.
// Example: mount_path: /media/VOLUME_LABEL
virtual void FormatMountedDevice(const std::string& mount_path) = 0;

Powered by Google App Engine
This is Rietveld 408576698