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

Unified Diff: chrome/common/extensions/api/file_manager_private.idl

Issue 2451713002: Propagate the read_only_hardware flag of volumes to js. (Closed)
Patch Set: Rename the field name to is_read_only_removable_device, as it's only valid for removable devices. 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: chrome/common/extensions/api/file_manager_private.idl
diff --git a/chrome/common/extensions/api/file_manager_private.idl b/chrome/common/extensions/api/file_manager_private.idl
index a7f4fb0d64f07a4d168462f957062afca6ec2c0e..58885267cdbad164605f38604ebb5c6619759b18 100644
--- a/chrome/common/extensions/api/file_manager_private.idl
+++ b/chrome/common/extensions/api/file_manager_private.idl
@@ -347,6 +347,10 @@ dictionary VolumeMetadata {
// Flag that specifies if volume is mounted in read-only mode.
boolean isReadOnly;
+ // Flag that specifies if the device is write-protected.
+ // Valid only for the volumes of removable device partitions.
+ boolean isReadOnlyRemovableDevice;
+
// Flag that specifies whether the volume contains media.
boolean hasMedia;

Powered by Google App Engine
This is Rietveld 408576698