Upstream version 9.38.198.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / chromeos / file_system_provider / provided_file_system_info.h
index 5a3682d..60b80fd 100644 (file)
@@ -18,14 +18,16 @@ class ProvidedFileSystemInfo {
   ProvidedFileSystemInfo();
   ProvidedFileSystemInfo(const std::string& extension_id,
                          const std::string& file_system_id,
-                         const std::string& file_system_name,
+                         const std::string& display_name,
+                         const bool writable,
                          const base::FilePath& mount_path);
 
   ~ProvidedFileSystemInfo();
 
   const std::string& extension_id() const { return extension_id_; }
   const std::string& file_system_id() const { return file_system_id_; }
-  const std::string& file_system_name() const { return file_system_name_; }
+  const std::string& display_name() const { return display_name_; }
+  bool writable() const { return writable_; }
   const base::FilePath& mount_path() const { return mount_path_; }
 
  private:
@@ -36,7 +38,10 @@ class ProvidedFileSystemInfo {
   std::string file_system_id_;
 
   // Name of the file system, can be rendered in the UI.
-  std::string file_system_name_;
+  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_;