Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(248)

Unified Diff: webkit/browser/fileapi/sandbox_file_system_test_helper.cc

Issue 16950027: Move ComputeDirectorySize to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: git try Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webkit/browser/fileapi/sandbox_file_system_test_helper.cc
diff --git a/webkit/browser/fileapi/sandbox_file_system_test_helper.cc b/webkit/browser/fileapi/sandbox_file_system_test_helper.cc
index f8a84ffa313f49f657080b7704d1a65c833240e2..316a68d1f37f78007c790f52de8aa6b53196f7b1 100644
--- a/webkit/browser/fileapi/sandbox_file_system_test_helper.cc
+++ b/webkit/browser/fileapi/sandbox_file_system_test_helper.cc
@@ -97,7 +97,7 @@ int64 SandboxFileSystemTestHelper::GetCachedOriginUsage() const {
int64 SandboxFileSystemTestHelper::ComputeCurrentOriginUsage() {
usage_cache()->CloseCacheFiles();
- int64 size = file_util::ComputeDirectorySize(GetOriginRootPath());
+ int64 size = base::ComputeDirectorySize(GetOriginRootPath());
if (file_util::PathExists(GetUsageCachePath()))
size -= FileSystemUsageCache::kUsageFileSize;
return size;
@@ -105,7 +105,7 @@ int64 SandboxFileSystemTestHelper::ComputeCurrentOriginUsage() {
int64
SandboxFileSystemTestHelper::ComputeCurrentDirectoryDatabaseUsage() {
- return file_util::ComputeDirectorySize(
+ return base::ComputeDirectorySize(
GetOriginRootPath().AppendASCII("Paths"));
}
« base/file_util_unittest.cc ('K') | « content/browser/indexed_db/indexed_db_context_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698