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

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

Issue 15862008: Add SpecialStoragePolicy::HasIsolatedStorage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 7 months 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 | « webkit/browser/quota/mock_special_storage_policy.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/browser/quota/special_storage_policy.h
diff --git a/webkit/browser/quota/special_storage_policy.h b/webkit/browser/quota/special_storage_policy.h
index a16fed2a749408e615bb963a58c686ecc1b146d2..beafea3875d8c7a8a4d89f175e34115289741e05 100644
--- a/webkit/browser/quota/special_storage_policy.h
+++ b/webkit/browser/quota/special_storage_policy.h
@@ -56,6 +56,9 @@ class WEBKIT_STORAGE_EXPORT SpecialStoragePolicy
// file handler.
virtual bool IsFileHandler(const std::string& extension_id) = 0;
+ // Checks if the origin contains per-site isolated storage.
+ virtual bool HasIsolatedStorage(const GURL& origin) = 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;
« no previous file with comments | « webkit/browser/quota/mock_special_storage_policy.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698