Index: chrome/browser/chromeos/file_system_provider/provided_file_system_info.cc |
diff --git a/chrome/browser/chromeos/file_system_provider/provided_file_system_info.cc b/chrome/browser/chromeos/file_system_provider/provided_file_system_info.cc |
index 6e9dd9c9260e49bcd86e48d642b9b573bf3bb93d..3667dd9399ccabd109ddc1926cbd916001d86723 100644 |
--- a/chrome/browser/chromeos/file_system_provider/provided_file_system_info.cc |
+++ b/chrome/browser/chromeos/file_system_provider/provided_file_system_info.cc |
@@ -3,11 +3,13 @@ |
// found in the LICENSE file. |
#include "chrome/browser/chromeos/file_system_provider/provided_file_system_info.h" |
+#include "base/logging.h" |
namespace chromeos { |
namespace file_system_provider { |
-MountOptions::MountOptions() : writable(false), supports_notify_tag(false) { |
+MountOptions::MountOptions() |
+ : writable(false), supports_notify_tag(false), opened_files_limit(0) { |
} |
MountOptions::MountOptions(const std::string& file_system_id, |
@@ -15,7 +17,9 @@ MountOptions::MountOptions(const std::string& file_system_id, |
: file_system_id(file_system_id), |
display_name(display_name), |
writable(false), |
- supports_notify_tag(false) { |
+ supports_notify_tag(false), |
+ opened_files_limit(0) { |
+ DCHECK_LE(0, opened_files_limit); |
hirono
2015/01/08 08:57:58
The check should be at #40?
Here opned_files_limit
mtomasz
2015/01/08 09:01:00
Right! Done.
|
} |
ProvidedFileSystemInfo::ProvidedFileSystemInfo() |
@@ -31,6 +35,7 @@ ProvidedFileSystemInfo::ProvidedFileSystemInfo( |
display_name_(mount_options.display_name), |
writable_(mount_options.writable), |
supports_notify_tag_(mount_options.supports_notify_tag), |
+ opened_files_limit_(mount_options.opened_files_limit), |
mount_path_(mount_path) { |
} |