diff options
author | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-29 04:24:56 +0000 |
---|---|---|
committer | kinuko@chromium.org <kinuko@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-05-29 04:24:56 +0000 |
commit | e4d20b0c869d0531ac6d9ed88703e3f6a39f49b6 (patch) | |
tree | 603c51b9209809bfe2be8eee133c6ee141f19834 /webkit/browser/fileapi/local_file_util_unittest.cc | |
parent | 8b86c0d4a162a0d0a4593743ba42a38c72d466f4 (diff) | |
download | chromium_src-e4d20b0c869d0531ac6d9ed88703e3f6a39f49b6.zip chromium_src-e4d20b0c869d0531ac6d9ed88703e3f6a39f49b6.tar.gz chromium_src-e4d20b0c869d0531ac6d9ed88703e3f6a39f49b6.tar.bz2 |
Deprecate FileSystemMountPointProvider::GetFileSystemRootPathOnFileThread
This was initially introduced to get ExternalFileSystem's
local mount root path, but accessing MountPointProvider
from lower-layer FileUtil module looks ugly.
This patch:
- Deprecate FileSystemMountPointProvider::GetFileSystemRootPathOnFileThread
- Add FileSystemOperationContext::root_path() instead for passing root path
BUG=241701
TEST=Moved tests from content_unittests:FileSystemMountPointProviderTest.*
to content_unittests:SandboxMountPointProviderTest.*
R=bauerb@chromium.org, michaeln@chromium.org, tzik@chromium.org
Review URL: https://codereview.chromium.org/15959006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202776 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/browser/fileapi/local_file_util_unittest.cc')
-rw-r--r-- | webkit/browser/fileapi/local_file_util_unittest.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/browser/fileapi/local_file_util_unittest.cc b/webkit/browser/fileapi/local_file_util_unittest.cc index d1920ee..cac0d4c 100644 --- a/webkit/browser/fileapi/local_file_util_unittest.cc +++ b/webkit/browser/fileapi/local_file_util_unittest.cc @@ -52,6 +52,7 @@ class LocalFileUtilTest : public testing::Test { new FileSystemOperationContext(file_system_context_); context->set_update_observers( *file_system_context_->GetUpdateObservers(kFileSystemType)); + context->set_root_path(data_dir_.path()); return context; } |