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

Unified Diff: webkit/fileapi/sandbox_mount_point_provider.cc

Issue 7608011: Simplify directory path accounting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rolled in CR feedback. Created 9 years, 4 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
« no previous file with comments | « webkit/fileapi/sandbox_mount_point_provider.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/sandbox_mount_point_provider.cc
diff --git a/webkit/fileapi/sandbox_mount_point_provider.cc b/webkit/fileapi/sandbox_mount_point_provider.cc
index 920a8209831775d62b745735eac15f0e39838f7f..dbef6c315307620fc222b286809a3706d250f4ad 100644
--- a/webkit/fileapi/sandbox_mount_point_provider.cc
+++ b/webkit/fileapi/sandbox_mount_point_provider.cc
@@ -279,11 +279,10 @@ SandboxMountPointProvider::SandboxMountPointProvider(
path_manager_(path_manager),
file_message_loop_(file_message_loop),
profile_path_(profile_path),
- quota_file_util_(QuotaFileUtil::CreateDefault()),
sandbox_file_util_(
new ObfuscatedFileSystemFileUtil(
profile_path.Append(kNewFileSystemDirectory),
- quota_file_util_)) {
+ QuotaFileUtil::CreateDefault())) {
}
SandboxMountPointProvider::~SandboxMountPointProvider() {
@@ -563,7 +562,7 @@ int64 SandboxMountPointProvider::GetOriginUsageOnFileThread(
else
usage += file_info.size;
}
- usage += quota_file_util_->ComputeFilePathCost(file_path_each);
+ usage += ObfuscatedFileSystemFileUtil::ComputeFilePathCost(file_path_each);
}
// This clears the dirty flag too.
FileSystemUsageCache::UpdateUsage(usage_file_path, usage);
« no previous file with comments | « webkit/fileapi/sandbox_mount_point_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698