diff options
author | tbarzic@chromium.org <tbarzic@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-14 07:14:20 +0000 |
---|---|---|
committer | tbarzic@chromium.org <tbarzic@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-14 07:14:20 +0000 |
commit | 199263ee614a079d14f5114866ab0f99dde7c111 (patch) | |
tree | 0c7c21fded436c0a385cf131d3b78a85745a2325 /webkit/fileapi/file_system_mount_point_provider_unittest.cc | |
parent | ec0720d24f63f8c2bedfd0b4afaf71314ac33a6c (diff) | |
download | chromium_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_unittest.cc')
-rw-r--r-- | webkit/fileapi/file_system_mount_point_provider_unittest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/fileapi/file_system_mount_point_provider_unittest.cc b/webkit/fileapi/file_system_mount_point_provider_unittest.cc index 81c48eb..9c925a0 100644 --- a/webkit/fileapi/file_system_mount_point_provider_unittest.cc +++ b/webkit/fileapi/file_system_mount_point_provider_unittest.cc @@ -20,6 +20,7 @@ #include "testing/gtest/include/gtest/gtest.h" #include "webkit/fileapi/file_system_context.h" #include "webkit/fileapi/file_system_task_runners.h" +#include "webkit/fileapi/file_system_url.h" #include "webkit/fileapi/file_system_util.h" #include "webkit/fileapi/mock_file_system_options.h" #include "webkit/fileapi/sandbox_mount_point_provider.h" @@ -237,7 +238,7 @@ class FileSystemMountPointProviderTest : public testing::Test { virtual_path = FilePath(kVirtualPath); FilePath returned_root_path = provider(type)->GetFileSystemRootPathOnFileThread( - origin_url, type, virtual_path, create); + FileSystemURL(origin_url, type, virtual_path), create); if (root_path) *root_path = returned_root_path; return !returned_root_path.empty(); |