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

Unified Diff: trunk/src/chrome/browser/chromeos/file_manager/volume_manager.cc

Issue 389243002: Revert 282900 "Revert 282890 "[fsp] Add an option for mounting i..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 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: trunk/src/chrome/browser/chromeos/file_manager/volume_manager.cc
===================================================================
--- trunk/src/chrome/browser/chromeos/file_manager/volume_manager.cc (revision 282906)
+++ trunk/src/chrome/browser/chromeos/file_manager/volume_manager.cc (working copy)
@@ -220,7 +220,7 @@
volume_info.mount_path = file_system_info.mount_path();
volume_info.mount_condition = chromeos::disks::MOUNT_CONDITION_NONE;
volume_info.is_parent = true;
- volume_info.is_read_only = true;
+ volume_info.is_read_only = !file_system_info.writable();
volume_info.volume_id = GenerateVolumeId(volume_info);
return volume_info;
}

Powered by Google App Engine
This is Rietveld 408576698