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

Unified Diff: webkit/fileapi/sandboxed_file_system_context.h

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: build fix for win 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.h
diff --git a/webkit/fileapi/sandboxed_file_system_context.h b/webkit/fileapi/sandboxed_file_system_context.h
index fcb90bb4fc2422b140e08bac9054127052be8499..e3b7a6740a599079f39efb38cb6c3cfc376c477a 100644
--- a/webkit/fileapi/sandboxed_file_system_context.h
+++ b/webkit/fileapi/sandboxed_file_system_context.h
@@ -19,6 +19,7 @@ namespace fileapi {
class FileSystemPathManager;
class FileSystemQuotaManager;
+class FileSystemUsageTracker;
class SandboxedFileSystemContext;
struct DefaultContextDeleter;
@@ -37,8 +38,6 @@ class SandboxedFileSystemContext
bool unlimited_quota);
~SandboxedFileSystemContext();
- void Shutdown();
-
void DeleteDataForOriginOnFileThread(const GURL& origin_url);
// Quota related methods.
@@ -47,16 +46,17 @@ class SandboxedFileSystemContext
FileSystemPathManager* path_manager() { return path_manager_.get(); }
FileSystemQuotaManager* quota_manager() { return quota_manager_.get(); }
+ FileSystemUsageTracker* usage_tracker() { return usage_tracker_.get(); }
private:
friend struct DefaultContextDeleter;
void DeleteOnCorrectThread() const;
- bool allow_file_access_from_files_;
scoped_refptr<base::MessageLoopProxy> file_message_loop_;
scoped_refptr<base::MessageLoopProxy> io_message_loop_;
scoped_ptr<FileSystemPathManager> path_manager_;
scoped_ptr<FileSystemQuotaManager> quota_manager_;
+ scoped_ptr<FileSystemUsageTracker> usage_tracker_;
DISALLOW_IMPLICIT_CONSTRUCTORS(SandboxedFileSystemContext);
};
« no previous file with comments | « webkit/fileapi/file_system_usage_tracker_unittest.cc ('k') | webkit/fileapi/sandboxed_file_system_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698