OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INFO_H
_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INFO_H
_ |
6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INFO_H
_ | 6 #define CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INFO_H
_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 | 42 |
43 ~ProvidedFileSystemInfo(); | 43 ~ProvidedFileSystemInfo(); |
44 | 44 |
45 const std::string& extension_id() const { return extension_id_; } | 45 const std::string& extension_id() const { return extension_id_; } |
46 const std::string& file_system_id() const { return file_system_id_; } | 46 const std::string& file_system_id() const { return file_system_id_; } |
47 const std::string& display_name() const { return display_name_; } | 47 const std::string& display_name() const { return display_name_; } |
48 bool writable() const { return writable_; } | 48 bool writable() const { return writable_; } |
49 bool supports_notify_tag() const { return supports_notify_tag_; } | 49 bool supports_notify_tag() const { return supports_notify_tag_; } |
50 int opened_files_limit() const { return opened_files_limit_; } | 50 int opened_files_limit() const { return opened_files_limit_; } |
51 const base::FilePath& mount_path() const { return mount_path_; } | 51 const base::FilePath& mount_path() const { return mount_path_; } |
52 const bool configurable() const { return configurable_; } | 52 bool configurable() const { return configurable_; } |
53 const bool watchable() const { return watchable_; } | 53 bool watchable() const { return watchable_; } |
54 extensions::FileSystemProviderSource source() const { return source_; } | 54 extensions::FileSystemProviderSource source() const { return source_; } |
55 | 55 |
56 private: | 56 private: |
57 // ID of the extension providing this file system. | 57 // ID of the extension providing this file system. |
58 std::string extension_id_; | 58 std::string extension_id_; |
59 | 59 |
60 // ID of the file system. | 60 // ID of the file system. |
61 std::string file_system_id_; | 61 std::string file_system_id_; |
62 | 62 |
63 // Name of the file system, can be rendered in the UI. | 63 // Name of the file system, can be rendered in the UI. |
(...skipping 18 matching lines...) Expand all Loading... |
82 bool watchable_; | 82 bool watchable_; |
83 | 83 |
84 // Source of the file system's data. | 84 // Source of the file system's data. |
85 extensions::FileSystemProviderSource source_; | 85 extensions::FileSystemProviderSource source_; |
86 }; | 86 }; |
87 | 87 |
88 } // namespace file_system_provider | 88 } // namespace file_system_provider |
89 } // namespace chromeos | 89 } // namespace chromeos |
90 | 90 |
91 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INF
O_H_ | 91 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INF
O_H_ |
OLD | NEW |