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

Unified Diff: storage/browser/quota/special_storage_policy.h

Issue 2592793002: Revert of Change how the quota system computes the total poolsize for temporary storage (Closed)
Patch Set: Created 4 years 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 | « storage/browser/quota/quota_temporary_storage_evictor.cc ('k') | storage/browser/quota/usage_tracker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: storage/browser/quota/special_storage_policy.h
diff --git a/storage/browser/quota/special_storage_policy.h b/storage/browser/quota/special_storage_policy.h
index cac9f94398e7bc86a56e2c93bb26d54da25845be..5c97806a0b8d0beb4cb9cb1ec6ca296ea41bd30d 100644
--- a/storage/browser/quota/special_storage_policy.h
+++ b/storage/browser/quota/special_storage_policy.h
@@ -51,6 +51,10 @@ class STORAGE_EXPORT SpecialStoragePolicy
// Durable storage is not subject to storage pressure eviction.
virtual bool IsStorageDurable(const GURL& origin) = 0;
+ // Some origins (e.g. installed apps) have access to the size of the remaining
+ // disk capacity.
+ virtual bool CanQueryDiskSize(const GURL& origin) = 0;
+
// Checks if the origin contains per-site isolated storage.
virtual bool HasIsolatedStorage(const GURL& origin) = 0;
« no previous file with comments | « storage/browser/quota/quota_temporary_storage_evictor.cc ('k') | storage/browser/quota/usage_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698