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

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

Issue 8820009: Appcache, local storage, indexed db, databases: skip exit-time deletion when restarting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Code review. Created 9 years 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 4fbdb28b8fef3849353b807ddf109b744d12a61c..f6fd578566447c032c321c51cd57ed613a2d992c 100644
--- a/content/browser/in_process_webkit/webkit_context.h
+++ b/content/browser/in_process_webkit/webkit_context.h
@@ -70,14 +70,13 @@ class CONTENT_EXPORT 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);
+ // Tells all children to not do delete data when destructed.
+ void SaveSessionState();
+
private:
friend class base::RefCountedThreadSafe<WebKitContext>;
virtual ~WebKitContext();
« no previous file with comments | « content/browser/in_process_webkit/indexed_db_context.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