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

Unified Diff: webkit/dom_storage/dom_storage_session.h

Issue 10572015: Session restore: Store and restore persistent IDs for sessionStorage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: test fix 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
« no previous file with comments | « webkit/dom_storage/dom_storage_context.cc ('k') | webkit/dom_storage/dom_storage_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/dom_storage/dom_storage_session.h
diff --git a/webkit/dom_storage/dom_storage_session.h b/webkit/dom_storage/dom_storage_session.h
index 6de9f953882ac720779c969cb5f44081b72b4c7b..6f16943e1401a94bf4fafdeec309161712044e71 100644
--- a/webkit/dom_storage/dom_storage_session.h
+++ b/webkit/dom_storage/dom_storage_session.h
@@ -34,6 +34,7 @@ class DomStorageSession
const std::string& persistent_namespace_id() const {
return persistent_namespace_id_;
}
+ void SetShouldPersist(bool should_persist);
DomStorageSession* Clone();
// Constructs a |DomStorageSession| by cloning
@@ -52,6 +53,7 @@ class DomStorageSession
scoped_refptr<DomStorageContext> context_;
int64 namespace_id_;
std::string persistent_namespace_id_;
+ bool should_persist_;
DISALLOW_IMPLICIT_CONSTRUCTORS(DomStorageSession);
};
« no previous file with comments | « webkit/dom_storage/dom_storage_context.cc ('k') | webkit/dom_storage/dom_storage_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698