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

Unified Diff: chromeos/disks/disk_mount_manager.h

Issue 2230713003: Store correct read-only flag of mounted disks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use source path of mount info directly to lookup. Comment update. Created 4 years, 4 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 949b1a7e5e6895e0772782d8cf40815bcde1770d..6f0a07c490209df2fc6f3a9f55219d339529d1e2 100644
--- a/chromeos/disks/disk_mount_manager.h
+++ b/chromeos/disks/disk_mount_manager.h
@@ -148,6 +148,8 @@ class CHROMEOS_EXPORT DiskMountManager {
mount_path_ = mount_path;
}
+ void set_read_only(bool is_read_only) { is_read_only_ = is_read_only; }
+
void clear_mount_path() { mount_path_.clear(); }
private:

Powered by Google App Engine
This is Rietveld 408576698