Index: chrome/browser/chromeos/file_system_provider/provided_file_system_info.h |
diff --git a/chrome/browser/chromeos/file_system_provider/provided_file_system_info.h b/chrome/browser/chromeos/file_system_provider/provided_file_system_info.h |
index b863ed7d6edf4fbb41c4f70c7b61a2296243a628..e014673377d3f98caa115c40ef40e8a77ad83413 100644 |
--- a/chrome/browser/chromeos/file_system_provider/provided_file_system_info.h |
+++ b/chrome/browser/chromeos/file_system_provider/provided_file_system_info.h |
@@ -12,15 +12,28 @@ |
namespace chromeos { |
namespace file_system_provider { |
+// Options for creating the provided file system info. |
+struct MountOptions { |
+ MountOptions(); |
+ |
+ // Only mandatory fields. |
+ MountOptions(const std::string& file_system_id, |
+ const std::string& display_name); |
+ |
+ std::string extension_id; |
+ std::string file_system_id; |
+ std::string display_name; |
+ bool writable; |
+ bool supports_notify_tag; |
+}; |
+ |
// Contains information about the provided file system instance. |
class ProvidedFileSystemInfo { |
public: |
ProvidedFileSystemInfo(); |
+ |
ProvidedFileSystemInfo(const std::string& extension_id, |
- const std::string& file_system_id, |
- const std::string& display_name, |
- bool writable, |
- bool supports_notify_tag, |
+ const MountOptions& mount_options, |
const base::FilePath& mount_path); |
~ProvidedFileSystemInfo(); |