| 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_FILEAPI_FILE_SYSTEM_URL_H_ | 5 #ifndef WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_URL_H_ |
| 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_URL_H_ | 6 #define WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_URL_H_ |
| 7 | 7 |
| 8 #include <set> | 8 #include <set> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/platform_file.h" | 11 #include "base/platform_file.h" |
| 12 #include "googleurl/src/gurl.h" | 12 #include "googleurl/src/gurl.h" |
| 13 #include "webkit/fileapi/file_system_types.h" | 13 #include "webkit/common/fileapi/file_system_types.h" |
| 14 #include "webkit/storage/webkit_storage_export.h" | 14 #include "webkit/storage/webkit_storage_export.h" |
| 15 | 15 |
| 16 namespace fileapi { | 16 namespace fileapi { |
| 17 | 17 |
| 18 // A class representing a filesystem URL which consists of origin URL, | 18 // A class representing a filesystem URL which consists of origin URL, |
| 19 // type and an internal path used inside the filesystem. | 19 // type and an internal path used inside the filesystem. |
| 20 // | 20 // |
| 21 // When a FileSystemURL instance is created for a GURL (for filesystem: scheme), | 21 // When a FileSystemURL instance is created for a GURL (for filesystem: scheme), |
| 22 // each accessor method would return following values: | 22 // each accessor method would return following values: |
| 23 // | 23 // |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 std::string mount_filesystem_id_; | 161 std::string mount_filesystem_id_; |
| 162 FileSystemType type_; | 162 FileSystemType type_; |
| 163 base::FilePath path_; | 163 base::FilePath path_; |
| 164 std::string filesystem_id_; | 164 std::string filesystem_id_; |
| 165 }; | 165 }; |
| 166 | 166 |
| 167 typedef std::set<FileSystemURL, FileSystemURL::Comparator> FileSystemURLSet; | 167 typedef std::set<FileSystemURL, FileSystemURL::Comparator> FileSystemURLSet; |
| 168 | 168 |
| 169 } // namespace fileapi | 169 } // namespace fileapi |
| 170 | 170 |
| 171 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_URL_H_ | 171 #endif // WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_URL_H_ |
| OLD | NEW |