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

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

Issue 7619010: Session-only local storage cleared on exit. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Code review comments (tiny). Created 9 years, 4 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 6992d772db5ce69e292051826ec6285e4d9a9be7..8d404ce39bc7f84290accedb655939c035a27aa5 100644
--- a/content/browser/in_process_webkit/webkit_context.h
+++ b/content/browser/in_process_webkit/webkit_context.h
@@ -69,6 +69,10 @@ class WebKitContext : public base::RefCountedThreadSafe<WebKitContext> {
// last modified on or after the following time.
void DeleteDataModifiedSince(const base::Time& cutoff);
+ // Tell all children (where applicable) to delete any objects that are allowed
+ // to be stored only until the end of the session.
+ void DeleteSessionOnlyData();
+
// Delete the session storage namespace associated with this id. Can be
// called from any thread.
void DeleteSessionStorageNamespace(int64 session_storage_namespace_id);
« no previous file with comments | « content/browser/in_process_webkit/dom_storage_unittest.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