Index: webkit/fileapi/file_system_url.h |
diff --git a/webkit/fileapi/file_system_url.h b/webkit/fileapi/file_system_url.h |
index 2c15e6f98e9aae4338e866a19290bf50e3ec1c9d..1d1d57956b957e1f01e369be7f39f3cbb8049c04 100644 |
--- a/webkit/fileapi/file_system_url.h |
+++ b/webkit/fileapi/file_system_url.h |
@@ -33,6 +33,9 @@ class FILEAPI_EXPORT FileSystemURL { |
// TODO(kinuko): this must be std::string. |
const FilePath& path() const { return path_; } |
+ // For isolated filesystem. |
+ const std::string& filesystem_id() const { return filesystem_id_; } |
+ |
std::string spec() const; |
// Returns a new FileSystemURL with the given path. |
@@ -42,9 +45,13 @@ class FILEAPI_EXPORT FileSystemURL { |
bool operator==(const FileSystemURL& that) const; |
private: |
+ void MayCrackIsolatedPath(); |
+ |
GURL origin_; |
FileSystemType type_; |
FilePath path_; |
+ std::string filesystem_id_; // For isolated filesystem. |
+ |
bool is_valid_; |
}; |