summaryrefslogtreecommitdiffstats
path: root/webkit/quota/special_storage_policy.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/quota/special_storage_policy.h')
-rw-r--r--webkit/quota/special_storage_policy.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/quota/special_storage_policy.h b/webkit/quota/special_storage_policy.h
index 1f17dac..90526f0 100644
--- a/webkit/quota/special_storage_policy.h
+++ b/webkit/quota/special_storage_policy.h
@@ -19,11 +19,17 @@ namespace quota {
class SpecialStoragePolicy
: public base::RefCountedThreadSafe<SpecialStoragePolicy> {
public:
+ SpecialStoragePolicy();
+
// Protected storage is not subject to removal by the browsing data remover.
virtual bool IsStorageProtected(const GURL& origin) = 0;
// Unlimited storage is not subject to 'quotas'.
virtual bool IsStorageUnlimited(const GURL& origin) = 0;
+
+ protected:
+ friend class base::RefCountedThreadSafe<SpecialStoragePolicy>;
+ virtual ~SpecialStoragePolicy();
};
} // namespace quota