Index: content/public/browser/dom_storage_context.h |
diff --git a/content/public/browser/dom_storage_context.h b/content/public/browser/dom_storage_context.h |
index a4aba1e91e1b4f384a0e0eaa9891b8d6e062965c..61b2856717a2fc2b118dcff5a4522d4525cefb7b 100644 |
--- a/content/public/browser/dom_storage_context.h |
+++ b/content/public/browser/dom_storage_context.h |
@@ -39,8 +39,14 @@ class DOMStorageContext { |
virtual void GetSessionStorageUsage( |
const GetSessionStorageUsageCallback& callback) = 0; |
- // Deletes the local storage data for the given origin. |
- virtual void DeleteLocalStorage(const GURL& origin) = 0; |
+ // Deletes the local storage data for the physical origin of |origin_url|, |
+ // including all suborigins at the physical origin. |
+ // |
+ // See https://w3c.github.io/webappsec-suborigins/. |
+ virtual void DeleteLocalStorageForPhysicalOrigin(const GURL& origin_url) = 0; |
+ |
+ // Deletes the local storage for the origin of |origin_url|. |
+ virtual void DeleteLocalStorage(const GURL& origin_url) = 0; |
// Deletes the session storage data identified by |usage_info|. |
virtual void DeleteSessionStorage( |