Index: webkit/quota/special_storage_policy.h |
diff --git a/webkit/quota/special_storage_policy.h b/webkit/quota/special_storage_policy.h |
index cc1af6b9042cf2f359b6856a7c8b4127cf0d8188..ed8989c41b0e470b098784f69ea2385f1c28b080 100644 |
--- a/webkit/quota/special_storage_policy.h |
+++ b/webkit/quota/special_storage_policy.h |
@@ -42,6 +42,10 @@ class SpecialStoragePolicy |
// file handler. |
virtual bool IsFileHandler(const std::string& extension_id) = 0; |
+ // Some origins are only allowed to store session-only data which is deleted |
+ // when the session ends. |
+ virtual bool IsStorageSessionOnly(const GURL& origin) = 0; |
+ |
// Adds/removes an observer, the policy does not take |
// ownership of the observer. Should only be called on the IO thread. |
void AddObserver(Observer* observer); |