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

Unified Diff: webkit/fileapi/external_mount_points.h

Issue 11787028: New FileSystemURL cracking (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 11 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
Index: webkit/fileapi/external_mount_points.h
diff --git a/webkit/fileapi/external_mount_points.h b/webkit/fileapi/external_mount_points.h
index fe8d4d08779fdc74321939f131975117d968abec..ad60908fc8019b69e91fe32bd9718c78a2370a60 100644
--- a/webkit/fileapi/external_mount_points.h
+++ b/webkit/fileapi/external_mount_points.h
@@ -18,6 +18,7 @@
class FilePath;
namespace fileapi {
+class FileSystemURL;
class RemoteFileSystemProxyInterface;
}
@@ -69,6 +70,8 @@ class WEBKIT_STORAGE_EXPORT ExternalMountPoints
const FilePath& path);
// MountPoints overrides.
+ virtual bool HandlesFileSystemMountType(
+ const FileSystemType& type) const OVERRIDE;
virtual bool RevokeFileSystem(const std::string& mount_name) OVERRIDE;
virtual bool GetRegisteredPath(const std::string& mount_name,
FilePath* path) const OVERRIDE;
@@ -76,6 +79,11 @@ class WEBKIT_STORAGE_EXPORT ExternalMountPoints
std::string* mount_name,
FileSystemType* type,
FilePath* path) const OVERRIDE;
+ virtual FileSystemURL CrackURL(const GURL& url) const OVERRIDE;
+ virtual FileSystemURL CreateCrackedFileSystemURL(
+ const GURL& origin,
+ FileSystemType type,
+ const FilePath& path) const OVERRIDE;
// Retrieves the remote file system proxy for the registered file system.
// Returns NULL if there is no file system with the given name, or if the file

Powered by Google App Engine
This is Rietveld 408576698