| 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 db8d82dd5a4cbeaaa1a7bf39f96d48c68143ebb2..a35c5c5cb558899e0d2e55b10f8ec27bb307fbdf 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,6 +3,7 @@
|
| // found in the LICENSE file.
|
|
|
| #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info.h"
|
| +
|
| #include "base/logging.h"
|
|
|
| namespace chromeos {
|
| @@ -24,20 +25,27 @@ MountOptions::MountOptions(const std::string& file_system_id,
|
| }
|
|
|
| ProvidedFileSystemInfo::ProvidedFileSystemInfo()
|
| - : writable_(false), supports_notify_tag_(false) {
|
| + : writable_(false),
|
| + supports_notify_tag_(false),
|
| + configurable_(false),
|
| + source_(extensions::SOURCE_FILE) {
|
| }
|
|
|
| ProvidedFileSystemInfo::ProvidedFileSystemInfo(
|
| const std::string& extension_id,
|
| const MountOptions& mount_options,
|
| - const base::FilePath& mount_path)
|
| + const base::FilePath& mount_path,
|
| + bool configurable,
|
| + extensions::FileSystemProviderSource source)
|
| : extension_id_(extension_id),
|
| 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),
|
| opened_files_limit_(mount_options.opened_files_limit),
|
| - mount_path_(mount_path) {
|
| + mount_path_(mount_path),
|
| + configurable_(configurable),
|
| + source_(source) {
|
| DCHECK_LE(0, mount_options.opened_files_limit);
|
| }
|
|
|
|
|