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

Unified Diff: webkit/fileapi/file_system_mount_point_provider.h

Issue 6864040: Fixed file/directory url resolution for external mount point provider. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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/file_system_mount_point_provider.h
===================================================================
--- webkit/fileapi/file_system_mount_point_provider.h (revision 82259)
+++ webkit/fileapi/file_system_mount_point_provider.h (working copy)
@@ -29,7 +29,7 @@
// Retrieves the root path for the given |origin_url| and |type|, and
// calls the given |callback| with the root path and name.
// If |create| is true this also creates the directory if it doesn't exist.
- virtual void GetFileSystemRootPath(
+ virtual void ValidateFileSystemRootAndGetURL(
const GURL& origin_url,
FileSystemType type,
bool create,
@@ -37,7 +37,7 @@
// Like GetFileSystemRootPath, but synchronous, and can be called only while
// running on the file thread.
- virtual FilePath GetFileSystemRootPathOnFileThread(
+ virtual FilePath ValidateFileSystemRootAndGetPathOnFileThread(
const GURL& origin_url,
FileSystemType type,
const FilePath& virtual_path,
@@ -67,6 +67,10 @@
// Revoke file access from extension identified with |extension_id|.
virtual void RevokeAccessForExtension(
const std::string& extension_id) = 0;
+ // Adds a new mount point.
+ virtual void AddMountPoint(FilePath mount_point) = 0;
+ // Remove a mount point.
+ virtual void RemoveMountPoint(FilePath mount_point) = 0;
};
} // namespace fileapi

Powered by Google App Engine
This is Rietveld 408576698