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 06c36e303cbf55699d624799ed7c999db4ead2ea..92759934e0ca6d6d6aeddb5de0a21b7e2c850fe0 100644 |
--- a/content/public/browser/dom_storage_context.h |
+++ b/content/public/browser/dom_storage_context.h |
@@ -21,6 +21,7 @@ class Time; |
namespace content { |
class BrowserContext; |
+class SessionStorageNamespace; |
// Represents the per-BrowserContext Local Storage data. |
class DOMStorageContext { |
@@ -46,6 +47,13 @@ class DOMStorageContext { |
// are not deleted by this method. |
virtual void DeleteDataModifiedSince(const base::Time& cutoff) = 0; |
+ // Called when the sessionStorage for |namespace_id| can safely be deleted |
+ // (it won't be used by session restore). |
+ virtual void DoomSessionStorage(int64 namespace_id) = 0; |
michaeln
2012/06/05 01:41:07
Do you know where the callsite for this method sho
marja
2012/06/06 13:37:10
Atm the DoomSessionStorage is called by SessionSer
|
+ |
+ virtual SessionStorageNamespace* CreateSessionStorage( |
michaeln
2012/06/05 01:41:07
Probably should have the return value be of type s
marja
2012/06/06 13:37:10
Done. Changed the name to RecreateSessionStorage a
|
+ const std::string& persistent_id) = 0; |
+ |
protected: |
virtual ~DOMStorageContext() {} |
}; |