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

Unified Diff: webkit/fileapi/file_system_context.h

Issue 6609009: Remove FileSystemQuotaManager class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test 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
« no previous file with comments | « content/browser/file_system/file_system_dispatcher_host.cc ('k') | webkit/fileapi/file_system_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_context.h
diff --git a/webkit/fileapi/file_system_context.h b/webkit/fileapi/file_system_context.h
index d9552946e089101dbf7b4464f8d61f78d103fdcf..f37c4287b737c88345d74c5713188d79cf92c9d4 100644
--- a/webkit/fileapi/file_system_context.h
+++ b/webkit/fileapi/file_system_context.h
@@ -16,10 +16,13 @@ namespace base {
class MessageLoopProxy;
}
+namespace quota {
+class SpecialStoragePolicy;
+}
+
namespace fileapi {
class FileSystemPathManager;
-class FileSystemQuotaManager;
class FileSystemUsageTracker;
class FileSystemContext;
@@ -40,10 +43,12 @@ class FileSystemContext
bool unlimited_quota);
~FileSystemContext();
+ // This method can be called on any thread.
+ bool IsStorageUnlimited(const GURL& origin);
+
void DeleteDataForOriginOnFileThread(const GURL& origin_url);
FileSystemPathManager* path_manager() { return path_manager_.get(); }
- FileSystemQuotaManager* quota_manager() { return quota_manager_.get(); }
FileSystemUsageTracker* usage_tracker() { return usage_tracker_.get(); }
private:
@@ -52,8 +57,12 @@ class FileSystemContext
scoped_refptr<base::MessageLoopProxy> file_message_loop_;
scoped_refptr<base::MessageLoopProxy> io_message_loop_;
+
+ scoped_refptr<quota::SpecialStoragePolicy> special_storage_policy_;
+ const bool allow_file_access_from_files_;
+ const bool unlimited_quota_;
+
scoped_ptr<FileSystemPathManager> path_manager_;
- scoped_ptr<FileSystemQuotaManager> quota_manager_;
scoped_ptr<FileSystemUsageTracker> usage_tracker_;
DISALLOW_IMPLICIT_CONSTRUCTORS(FileSystemContext);
« no previous file with comments | « content/browser/file_system/file_system_dispatcher_host.cc ('k') | webkit/fileapi/file_system_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698