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

Unified Diff: webkit/quota/special_storage_policy.h

Issue 10826270: QuotaManager: Return the remaining free disk space as quota. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes. Created 8 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
« no previous file with comments | « webkit/quota/quota_manager_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/quota/special_storage_policy.h
diff --git a/webkit/quota/special_storage_policy.h b/webkit/quota/special_storage_policy.h
index f7d80f7de240155429d44dfd1cd91e736ebe2360..60ddaa03867c90a7bfc69ca8dab226f6652d2254 100644
--- a/webkit/quota/special_storage_policy.h
+++ b/webkit/quota/special_storage_policy.h
@@ -38,6 +38,9 @@ class SpecialStoragePolicy
// Unlimited storage is not subject to 'quotas'.
virtual bool IsStorageUnlimited(const GURL& origin) = 0;
+ // Installed apps have access to the size of the remaining disk capacity.
+ virtual bool IsInstalledApp(const GURL& origin) = 0;
+
// Checks if extension identified with |extension_id| is registered as
// file handler.
virtual bool IsFileHandler(const std::string& extension_id) = 0;
« no previous file with comments | « webkit/quota/quota_manager_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698