| 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 40d6387097dad785c32c3dd71ff8516a864187be..309fc844bab23d37da00bc18fb337096c06d3424 100644
|
| --- a/content/public/browser/dom_storage_context.h
|
| +++ b/content/public/browser/dom_storage_context.h
|
| @@ -17,6 +17,7 @@ class GURL;
|
| namespace content {
|
|
|
| class BrowserContext;
|
| +class SessionStorageNamespace;
|
|
|
| // Represents the per-BrowserContext Local Storage data.
|
| class DOMStorageContext {
|
| @@ -31,6 +32,13 @@ class DOMStorageContext {
|
| // Deletes the local storage data for the given origin.
|
| virtual void DeleteOrigin(const GURL& origin) = 0;
|
|
|
| + // Creates a SessionStorageNamespace with the given |persistent_id|. Used
|
| + // after tabs are restored by session restore. When created, the
|
| + // SessionStorageNamespace with the correct |persistent_id| will be
|
| + // associated with the persisted sessionStorage data.
|
| + virtual scoped_refptr<SessionStorageNamespace> RecreateSessionStorage(
|
| + const std::string& persistent_id) = 0;
|
| +
|
| protected:
|
| virtual ~DOMStorageContext() {}
|
| };
|
|
|