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

Unified Diff: chromeos/disks/disk_mount_manager.h

Issue 2451603002: Add a method to remount all removable devices in DiskMountManager. (Closed)
Patch Set: Do not pass mount path as mount_label because it causes test failure on some platforms. 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..3520c239e0b32aa2c4e031b08e66fe795040fc8a 100644
--- a/chromeos/disks/disk_mount_manager.h
+++ b/chromeos/disks/disk_mount_manager.h
@@ -294,6 +294,8 @@ class CHROMEOS_EXPORT DiskMountManager {
UnmountOptions options,
const UnmountPathCallback& callback) = 0;
+ virtual void RemountAllRemovableDrives(chromeos::MountAccessMode mode) = 0;
hashimoto 2016/10/26 06:05:12 Please add a comment to describe what this method
yamaguchi 2016/10/27 06:34:55 Done.
+
// 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