summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi/file_system_mount_point_provider.h
diff options
context:
space:
mode:
authortbarzic@chromium.org <tbarzic@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-14 07:14:20 +0000
committertbarzic@chromium.org <tbarzic@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-14 07:14:20 +0000
commit199263ee614a079d14f5114866ab0f99dde7c111 (patch)
tree0c7c21fded436c0a385cf131d3b78a85745a2325 /webkit/fileapi/file_system_mount_point_provider.h
parentec0720d24f63f8c2bedfd0b4afaf71314ac33a6c (diff)
downloadchromium_src-199263ee614a079d14f5114866ab0f99dde7c111.zip
chromium_src-199263ee614a079d14f5114866ab0f99dde7c111.tar.gz
chromium_src-199263ee614a079d14f5114866ab0f99dde7c111.tar.bz2
Change FileSystemMountPointProvider::GetFileSystemRootPathOnFileThread to take FileSystemURL
The only place GetFileSystemRootPathOnFileThread is called in production, the args are extracted from a FileSystemURL instance, so why not just pass that object to the method.. BUG=None TEST=None (trybots) Review URL: https://chromiumcodereview.appspot.com/11555013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@173114 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/file_system_mount_point_provider.h')
-rw-r--r--webkit/fileapi/file_system_mount_point_provider.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/webkit/fileapi/file_system_mount_point_provider.h b/webkit/fileapi/file_system_mount_point_provider.h
index 097932a..7e2ef11 100644
--- a/webkit/fileapi/file_system_mount_point_provider.h
+++ b/webkit/fileapi/file_system_mount_point_provider.h
@@ -51,13 +51,11 @@ class WEBKIT_STORAGE_EXPORT FileSystemMountPointProvider {
const ValidateFileSystemCallback& callback) = 0;
// Retrieves the root path of the filesystem specified by the given
- // |origin_url| and |type| on the file thread.
+ // file system url on the file thread.
// If |create| is true this may also create the root directory for
// the filesystem if it doesn't exist.
virtual FilePath GetFileSystemRootPathOnFileThread(
- const GURL& origin_url,
- FileSystemType type,
- const FilePath& virtual_path,
+ const FileSystemURL& url,
bool create) = 0;
// Checks if access to |virtual_path| is allowed from |origin_url|.