Index: content/browser/in_process_webkit/webkit_context.cc |
diff --git a/content/browser/in_process_webkit/webkit_context.cc b/content/browser/in_process_webkit/webkit_context.cc |
index 635991633ef3e05d7a2ae1a83789a6d971fe3c84..8fd9d11965026415b087133b3aa261b784a1fa83 100644 |
--- a/content/browser/in_process_webkit/webkit_context.cc |
+++ b/content/browser/in_process_webkit/webkit_context.cc |
@@ -66,6 +66,16 @@ void WebKitContext::DeleteDataModifiedSince(const base::Time& cutoff) { |
dom_storage_context_->DeleteDataModifiedSince(cutoff); |
} |
+void WebKitContext::DeleteSessionOnlyData() { |
+ if (!BrowserThread::CurrentlyOn(BrowserThread::WEBKIT)) { |
+ BrowserThread::PostTask( |
+ BrowserThread::WEBKIT, FROM_HERE, |
+ NewRunnableMethod(this, &WebKitContext::DeleteSessionOnlyData)); |
+ return; |
+ } |
+ |
+ dom_storage_context_->DeleteSessionOnlyData(); |
+} |
void WebKitContext::DeleteSessionStorageNamespace( |
int64 session_storage_namespace_id) { |