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

Unified Diff: content/public/browser/dom_storage_context.h

Issue 10572015: Session restore: Store and restore persistent IDs for sessionStorage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 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
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..0960376310b7873c090c6b75eef33853f174dab1 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,9 @@ class DOMStorageContext {
// Deletes the local storage data for the given origin.
virtual void DeleteOrigin(const GURL& origin) = 0;
+ virtual scoped_refptr<SessionStorageNamespace> RecreateSessionStorage(
michaeln 2012/06/20 04:01:59 a comment about what this method does &| its inten
marja 2012/06/20 16:54:32 Done.
+ const std::string& persistent_id) = 0;
+
protected:
virtual ~DOMStorageContext() {}
};

Powered by Google App Engine
This is Rietveld 408576698