diff options
Diffstat (limited to 'webkit/fileapi/file_system_test_helper.cc')
-rw-r--r-- | webkit/fileapi/file_system_test_helper.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/fileapi/file_system_test_helper.cc b/webkit/fileapi/file_system_test_helper.cc index 6eb3538..dd5bfa4 100644 --- a/webkit/fileapi/file_system_test_helper.cc +++ b/webkit/fileapi/file_system_test_helper.cc @@ -165,6 +165,10 @@ int64 FileSystemTestOriginHelper::GetCachedOriginUsage() const { return FileSystemUsageCache::GetUsage(GetUsageCachePath()); } +bool FileSystemTestOriginHelper::RevokeUsageCache() const { + return file_util::Delete(GetUsageCachePath(), false); +} + int64 FileSystemTestOriginHelper::ComputeCurrentOriginUsage() const { // Depending on the file_util GetOriginRootPath() may include usage // cache file size or may not. Here we subtract the initial size to |