Index: webkit/fileapi/sandboxed_file_system_context.cc |
diff --git a/webkit/fileapi/sandboxed_file_system_context.cc b/webkit/fileapi/sandboxed_file_system_context.cc |
index 16232d5d35cdf70f0c313f6237c50326f6a7874a..1fd458d302f520efd0797b40e4717bee55187b4b 100644 |
--- a/webkit/fileapi/sandboxed_file_system_context.cc |
+++ b/webkit/fileapi/sandboxed_file_system_context.cc |
@@ -8,6 +8,7 @@ |
#include "base/message_loop_proxy.h" |
#include "webkit/fileapi/file_system_path_manager.h" |
#include "webkit/fileapi/file_system_quota_manager.h" |
+#include "webkit/fileapi/file_system_usage_tracker.h" |
namespace fileapi { |
@@ -23,18 +24,14 @@ SandboxedFileSystemContext::SandboxedFileSystemContext( |
path_manager_(new FileSystemPathManager( |
file_message_loop, profile_path, is_incognito, allow_file_access)), |
quota_manager_(new FileSystemQuotaManager( |
- allow_file_access, unlimited_quota)) { |
+ allow_file_access, unlimited_quota)), |
+ usage_tracker_(new FileSystemUsageTracker( |
+ file_message_loop, profile_path, is_incognito)) { |
} |
SandboxedFileSystemContext::~SandboxedFileSystemContext() { |
} |
-void SandboxedFileSystemContext::Shutdown() { |
- DCHECK(io_message_loop_->BelongsToCurrentThread()); |
- path_manager_.reset(); |
- quota_manager_.reset(); |
-} |
- |
void SandboxedFileSystemContext::DeleteDataForOriginOnFileThread( |
const GURL& origin_url) { |
DCHECK(path_manager_.get()); |