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

Unified Diff: content/browser/in_process_webkit/webkit_context.h

Issue 8929007: Restore sessionStorage when chrome restarts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix: cloning storage areas. Created 8 years, 11 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/in_process_webkit/webkit_context.h
diff --git a/content/browser/in_process_webkit/webkit_context.h b/content/browser/in_process_webkit/webkit_context.h
index f6fd578566447c032c321c51cd57ed613a2d992c..c92ec514531b5daf4123ab387a2d31b72c3e7871 100644
--- a/content/browser/in_process_webkit/webkit_context.h
+++ b/content/browser/in_process_webkit/webkit_context.h
@@ -77,6 +77,11 @@ class CONTENT_EXPORT WebKitContext
// Tells all children to not do delete data when destructed.
void SaveSessionState();
+ // Tells DOMStorageContext to delete all session storages except the ones in
+ // |needed_session_storages|.
+ void DeleteUnneededSessionStorages(
+ const std::set<std::string>& needed_session_storages);
+
private:
friend class base::RefCountedThreadSafe<WebKitContext>;
virtual ~WebKitContext();
« no previous file with comments | « content/browser/in_process_webkit/dom_storage_namespace.cc ('k') | content/browser/in_process_webkit/webkit_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698