Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / chromeos / file_system_provider / provided_file_system_info.cc
index 9335c62..6e9dd9c 100644 (file)
@@ -7,18 +7,30 @@
 namespace chromeos {
 namespace file_system_provider {
 
-ProvidedFileSystemInfo::ProvidedFileSystemInfo() {}
+MountOptions::MountOptions() : writable(false), supports_notify_tag(false) {
+}
+
+MountOptions::MountOptions(const std::string& file_system_id,
+                           const std::string& display_name)
+    : file_system_id(file_system_id),
+      display_name(display_name),
+      writable(false),
+      supports_notify_tag(false) {
+}
+
+ProvidedFileSystemInfo::ProvidedFileSystemInfo()
+    : writable_(false), supports_notify_tag_(false) {
+}
 
 ProvidedFileSystemInfo::ProvidedFileSystemInfo(
     const std::string& extension_id,
-    const std::string& file_system_id,
-    const std::string& display_name,
-    bool writable,
+    const MountOptions& mount_options,
     const base::FilePath& mount_path)
     : extension_id_(extension_id),
-      file_system_id_(file_system_id),
-      display_name_(display_name),
-      writable_(writable),
+      file_system_id_(mount_options.file_system_id),
+      display_name_(mount_options.display_name),
+      writable_(mount_options.writable),
+      supports_notify_tag_(mount_options.supports_notify_tag),
       mount_path_(mount_path) {
 }