diff options
author | dmikurube@chromium.org <dmikurube@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-27 06:06:43 +0000 |
---|---|---|
committer | dmikurube@chromium.org <dmikurube@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-07-27 06:06:43 +0000 |
commit | b0e2a4f2793a60b8979b738758f63a4df7539665 (patch) | |
tree | f917b27caf5fba78f0bf1ec721ad3c3bc5fa2fd4 /webkit/fileapi/file_system_quota_client_unittest.cc | |
parent | 7e494c6d13267fe91a649c81ca858a58c449d6c4 (diff) | |
download | chromium_src-b0e2a4f2793a60b8979b738758f63a4df7539665.zip chromium_src-b0e2a4f2793a60b8979b738758f63a4df7539665.tar.gz chromium_src-b0e2a4f2793a60b8979b738758f63a4df7539665.tar.bz2 |
Refactoring: Change all -FileUtils non-Singleton and to own underlying FileUtils.
Based on the discussion at http://codereview.chromium.org/7174002/diff/26001/webkit/fileapi/local_file_system_file_util.h#newcode38, this change
* also reduces dependency between FileUtils,
* enables more flexible stacking of -FileUtils, such as QuotaFileUtil over other -FileUtils, and
* makes -FileUtils symmetry so owner handling for these objects gets unified.
BUG=none
TEST=FileSystemFileUtilTest.*,FileSystemOperationTest.*,FileSystemOperationWriteTest.*,FileSystemQuotaTest.*,FileWriterDelegateTest.*,LocalFileSystemFileUtilTest.*,ObfuscatedFileSystemFileUtil.*,QuotaFileUtil.*,SandboxMountPointProviderTest.*
Review URL: http://codereview.chromium.org/7312023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94251 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/file_system_quota_client_unittest.cc')
-rw-r--r-- | webkit/fileapi/file_system_quota_client_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/fileapi/file_system_quota_client_unittest.cc b/webkit/fileapi/file_system_quota_client_unittest.cc index d54978a..654419d 100644 --- a/webkit/fileapi/file_system_quota_client_unittest.cc +++ b/webkit/fileapi/file_system_quota_client_unittest.cc @@ -217,7 +217,7 @@ class FileSystemQuotaClientTest : public testing::Test { if (!path.empty()) { // TODO(dmikurube): Use QuotaFileUtil in the actual -FileUtil stack. file_paths_cost += - QuotaFileUtil::GetInstance()->ComputeFilePathCost(path); + QuotaFileUtil::CreateDefault()->ComputeFilePathCost(path); } } } |