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

Unified Diff: webkit/fileapi/file_system_url.h

Issue 10879002: kFileSystemTypeIsolated should be only used in the URL exposed to renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: build fix Created 8 years, 4 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_types.h ('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 238965fe54fa287d86bad069809f38b29b1bd6a1..809cd9a2f84c4d04d2c88cc5f46df3dc96a02cbe 100644
--- a/webkit/fileapi/file_system_url.h
+++ b/webkit/fileapi/file_system_url.h
@@ -23,7 +23,7 @@ namespace fileapi {
//
// Example: For a URL 'filesystem:http://foo.com/temporary/foo/bar':
// origin() returns 'http://foo.com',
-// type() returns kFileSystemTypeTemporary,
+// type() and mount_type() return kFileSystemTypeTemporary,
// path() and virtual_path() return 'foo/bar', and
// filesystem_id() returns an empty string.
//
@@ -40,7 +40,7 @@ namespace fileapi {
// path() returns '/media/removable/foo/bar',
// virtual_path() returns 'mount_name/foo/bar',
// filesystem_id() returns 'mount_name', and
-// mount_type() returns kFileSystemMountTypeExternal.
+// mount_type() returns kFileSystemTypeExternal.
//
class FILEAPI_EXPORT FileSystemURL {
public:
@@ -73,8 +73,9 @@ class FILEAPI_EXPORT FileSystemURL {
// See the class comment for details.
const std::string& filesystem_id() const { return filesystem_id_; }
- // Returns the mount type of this URL for isolated/external file system URLs.
- FileSystemMountType mount_type() const { return mount_type_; }
+ // Returns the public file system type of this URL.
+ // See the class comment for details.
+ FileSystemType mount_type() const { return mount_type_; }
std::string spec() const;
@@ -94,7 +95,7 @@ class FILEAPI_EXPORT FileSystemURL {
// For isolated filesystem.
std::string filesystem_id_;
FilePath virtual_path_;
- FileSystemMountType mount_type_;
+ FileSystemType mount_type_;
bool is_valid_;
};
« no previous file with comments | « webkit/fileapi/file_system_types.h ('k') | webkit/fileapi/file_system_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698