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

Unified Diff: trunk/src/chrome/browser/chromeos/file_system_provider/provided_file_system_info.h

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_system_provider/provided_file_system_info.h
===================================================================
--- trunk/src/chrome/browser/chromeos/file_system_provider/provided_file_system_info.h (revision 282906)
+++ trunk/src/chrome/browser/chromeos/file_system_provider/provided_file_system_info.h (working copy)
@@ -19,6 +19,7 @@
ProvidedFileSystemInfo(const std::string& extension_id,
const std::string& file_system_id,
const std::string& display_name,
+ const bool writable,
const base::FilePath& mount_path);
~ProvidedFileSystemInfo();
@@ -26,6 +27,7 @@
const std::string& extension_id() const { return extension_id_; }
const std::string& file_system_id() const { return file_system_id_; }
const std::string& display_name() const { return display_name_; }
+ bool writable() const { return writable_; }
const base::FilePath& mount_path() const { return mount_path_; }
private:
@@ -38,6 +40,9 @@
// Name of the file system, can be rendered in the UI.
std::string display_name_;
+ // Whether the file system is writable or just read-only.
+ bool writable_;
+
// Mount path of the underlying file system.
base::FilePath mount_path_;
};

Powered by Google App Engine
This is Rietveld 408576698