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

Unified Diff: webkit/fileapi/sandboxed_file_system_context.cc

Issue 6426001: Add 1st cut of FileSystemUsageTracker that tracks the usage changes in FileSystem API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nits fix Created 9 years, 10 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/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..6141f74ad1bd2fc3305f0fb0f0b509af0909b8ce 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,7 +24,9 @@ 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() {

Powered by Google App Engine
This is Rietveld 408576698