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

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: Fix windows build problem. 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
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 6570170583d08bafdc7e75553751d2240eb12af5..2ef652b62667ab5e10df97b0f7fc310fafab6f43 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);

Powered by Google App Engine
This is Rietveld 408576698