Update broken references to image assets
[chromium-blink-merge.git] / chrome / browser / chromeos / file_system_provider / provided_file_system_info.cc
blob607133b49e0348404af7ffcd7dc7ba0eb22cd042
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_info.h"
7 #include "base/logging.h"
9 namespace chromeos {
10 namespace file_system_provider {
12 MountOptions::MountOptions()
13 : writable(false),
14 supports_notify_tag(false),
15 opened_files_limit(0) {
18 MountOptions::MountOptions(const std::string& file_system_id,
19 const std::string& display_name)
20 : file_system_id(file_system_id),
21 display_name(display_name),
22 writable(false),
23 supports_notify_tag(false),
24 opened_files_limit(0) {
27 ProvidedFileSystemInfo::ProvidedFileSystemInfo()
28 : writable_(false),
29 supports_notify_tag_(false),
30 configurable_(false),
31 watchable_(false),
32 source_(extensions::SOURCE_FILE) {
35 ProvidedFileSystemInfo::ProvidedFileSystemInfo(
36 const std::string& extension_id,
37 const MountOptions& mount_options,
38 const base::FilePath& mount_path,
39 bool configurable,
40 bool watchable,
41 extensions::FileSystemProviderSource source)
42 : extension_id_(extension_id),
43 file_system_id_(mount_options.file_system_id),
44 display_name_(mount_options.display_name),
45 writable_(mount_options.writable),
46 supports_notify_tag_(mount_options.supports_notify_tag),
47 opened_files_limit_(mount_options.opened_files_limit),
48 mount_path_(mount_path),
49 configurable_(configurable),
50 watchable_(watchable),
51 source_(source) {
52 DCHECK_LE(0, mount_options.opened_files_limit);
55 ProvidedFileSystemInfo::~ProvidedFileSystemInfo() {}
57 } // namespace file_system_provider
58 } // namespace chromeos