diff options
author | dmikurube@google.com <dmikurube@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-14 08:28:42 +0000 |
---|---|---|
committer | dmikurube@google.com <dmikurube@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-14 08:28:42 +0000 |
commit | 1ed87435e93943ed20eb0bae2419ac150a015aa8 (patch) | |
tree | a5defcb0314b2c00720f4217bff14ee8857ec24c /webkit/fileapi/file_system_test_helper.cc | |
parent | 24f9b638ae0144d405954af652bdf1fbfeb6ce71 (diff) | |
download | chromium_src-1ed87435e93943ed20eb0bae2419ac150a015aa8.zip chromium_src-1ed87435e93943ed20eb0bae2419ac150a015aa8.tar.gz chromium_src-1ed87435e93943ed20eb0bae2419ac150a015aa8.tar.bz2 |
Revert 88965 - Integrated test with the actual QuotaManager and PathManager.
BUG=86016
TEST=FileSystemQuotaTest.*
Review URL: http://codereview.chromium.org/6905095
TBR=dmikurube@chromium.org
Review URL: http://codereview.chromium.org/7145024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@88966 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/file_system_test_helper.cc')
-rw-r--r-- | webkit/fileapi/file_system_test_helper.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/webkit/fileapi/file_system_test_helper.cc b/webkit/fileapi/file_system_test_helper.cc index b7813fa..c51fe7f 100644 --- a/webkit/fileapi/file_system_test_helper.cc +++ b/webkit/fileapi/file_system_test_helper.cc @@ -125,8 +125,6 @@ void FileSystemTestOriginHelper::SetUp( // how much the size of the origin directory has grown. initial_usage_size_ = file_util::ComputeDirectorySize( GetOriginRootPath()); - - FileSystemUsageCache::UpdateUsage(usage_cache_path, initial_usage_size_); } void FileSystemTestOriginHelper::TearDown() { @@ -164,8 +162,7 @@ FilePath FileSystemTestOriginHelper::GetUsageCachePath() const { } int64 FileSystemTestOriginHelper::GetCachedOriginUsage() const { - return FileSystemUsageCache::GetUsage(GetUsageCachePath()) - - initial_usage_size_; + return FileSystemUsageCache::GetUsage(GetUsageCachePath()); } int64 FileSystemTestOriginHelper::ComputeCurrentOriginUsage() const { |