Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Unified Diff: webkit/fileapi/file_system_url.h

Issue 10810053: Enables internal filesystem types via Isolated filesystems (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: layout test crash fix Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/fileapi/file_system_quota_client_unittest.cc ('k') | webkit/fileapi/file_system_url.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
};
« no previous file with comments | « webkit/fileapi/file_system_quota_client_unittest.cc ('k') | webkit/fileapi/file_system_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698