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; |