| 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" |
| 11 | 11 |
| 12 namespace chromeos { | 12 namespace chromeos { |
| 13 namespace file_system_provider { | 13 namespace file_system_provider { |
| 14 | 14 |
| 15 // Options for creating the provided file system info. | 15 // Options for creating the provided file system info. |
| 16 struct MountOptions { | 16 struct MountOptions { |
| 17 MountOptions(); | 17 MountOptions(); |
| 18 | 18 |
| 19 // Only mandatory fields. | 19 // Only mandatory fields. |
| 20 MountOptions(const std::string& file_system_id, | 20 MountOptions(const std::string& file_system_id, |
| 21 const std::string& display_name); | 21 const std::string& display_name); |
| 22 | 22 |
| 23 std::string extension_id; | |
| 24 std::string file_system_id; | 23 std::string file_system_id; |
| 25 std::string display_name; | 24 std::string display_name; |
| 26 bool writable; | 25 bool writable; |
| 27 bool supports_notify_tag; | 26 bool supports_notify_tag; |
| 28 }; | 27 }; |
| 29 | 28 |
| 30 // Contains information about the provided file system instance. | 29 // Contains information about the provided file system instance. |
| 31 class ProvidedFileSystemInfo { | 30 class ProvidedFileSystemInfo { |
| 32 public: | 31 public: |
| 33 ProvidedFileSystemInfo(); | 32 ProvidedFileSystemInfo(); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 62 bool supports_notify_tag_; | 61 bool supports_notify_tag_; |
| 63 | 62 |
| 64 // Mount path of the underlying file system. | 63 // Mount path of the underlying file system. |
| 65 base::FilePath mount_path_; | 64 base::FilePath mount_path_; |
| 66 }; | 65 }; |
| 67 | 66 |
| 68 } // namespace file_system_provider | 67 } // namespace file_system_provider |
| 69 } // namespace chromeos | 68 } // namespace chromeos |
| 70 | 69 |
| 71 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INF
O_H_ | 70 #endif // CHROME_BROWSER_CHROMEOS_FILE_SYSTEM_PROVIDER_PROVIDED_FILE_SYSTEM_INF
O_H_ |
| OLD | NEW |