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

Unified Diff: content/browser/dom_storage/session_storage_namespace_impl.h

Issue 10969012: Fix: Prerendering was confusing SessionService to not save sessionStorage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review. Created 8 years, 3 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/browser/dom_storage/session_storage_namespace_impl.h
diff --git a/content/browser/dom_storage/session_storage_namespace_impl.h b/content/browser/dom_storage/session_storage_namespace_impl.h
index 65a44f41616a988f3feaf049938d09eaee9a4c6d..a6097046ec9d52af074299ee821e706eaf0c6c57 100644
--- a/content/browser/dom_storage/session_storage_namespace_impl.h
+++ b/content/browser/dom_storage/session_storage_namespace_impl.h
@@ -39,6 +39,7 @@ class SessionStorageNamespaceImpl
virtual int64 id() const OVERRIDE;
virtual const std::string& persistent_id() const OVERRIDE;
virtual void SetShouldPersist(bool should_persist) OVERRIDE;
+ virtual bool should_persist() const OVERRIDE;
SessionStorageNamespaceImpl* Clone();
bool IsFromContext(DOMStorageContextImpl* context);
« no previous file with comments | « chrome/browser/ui/tab_contents/tab_contents.h ('k') | content/browser/dom_storage/session_storage_namespace_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698