OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_URL_H_ | 5 #ifndef STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_URL_H_ |
6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_URL_H_ | 6 #define STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_URL_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/files/file_path.h" | 11 #include "base/files/file_path.h" |
| 12 #include "storage/browser/storage_browser_export.h" |
| 13 #include "storage/common/fileapi/file_system_mount_option.h" |
| 14 #include "storage/common/fileapi/file_system_types.h" |
12 #include "url/gurl.h" | 15 #include "url/gurl.h" |
13 #include "webkit/browser/storage_browser_export.h" | |
14 #include "webkit/common/fileapi/file_system_mount_option.h" | |
15 #include "webkit/common/fileapi/file_system_types.h" | |
16 | 16 |
17 namespace storage { | 17 namespace storage { |
18 | 18 |
19 // A class representing a filesystem URL which consists of origin URL, | 19 // A class representing a filesystem URL which consists of origin URL, |
20 // type and an internal path used inside the filesystem. | 20 // type and an internal path used inside the filesystem. |
21 // | 21 // |
22 // When a FileSystemURL instance is created for a GURL (for filesystem: scheme), | 22 // When a FileSystemURL instance is created for a GURL (for filesystem: scheme), |
23 // each accessor method would return following values: | 23 // each accessor method would return following values: |
24 // | 24 // |
25 // Example: For a URL 'filesystem:http://foo.com/temporary/foo/bar': | 25 // Example: For a URL 'filesystem:http://foo.com/temporary/foo/bar': |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
170 FileSystemType type_; | 170 FileSystemType type_; |
171 base::FilePath path_; | 171 base::FilePath path_; |
172 std::string filesystem_id_; | 172 std::string filesystem_id_; |
173 FileSystemMountOption mount_option_; | 173 FileSystemMountOption mount_option_; |
174 }; | 174 }; |
175 | 175 |
176 typedef std::set<FileSystemURL, FileSystemURL::Comparator> FileSystemURLSet; | 176 typedef std::set<FileSystemURL, FileSystemURL::Comparator> FileSystemURLSet; |
177 | 177 |
178 } // namespace storage | 178 } // namespace storage |
179 | 179 |
180 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_URL_H_ | 180 #endif // STORAGE_BROWSER_FILEAPI_FILE_SYSTEM_URL_H_ |
OLD | NEW |