Index: webkit/quota/special_storage_policy.h |
diff --git a/webkit/quota/special_storage_policy.h b/webkit/quota/special_storage_policy.h |
index d9f17288b73b1e34642d1a3724b03af67e1e87e5..a0cfc0102c5542a927a97907be5139bf1a00e056 100644 |
--- a/webkit/quota/special_storage_policy.h |
+++ b/webkit/quota/special_storage_policy.h |
@@ -33,6 +33,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; |
+ |
protected: |
friend class base::RefCountedThreadSafe<SpecialStoragePolicy>; |
virtual ~SpecialStoragePolicy(); |