summaryrefslogtreecommitdiffstats
path: root/chrome/browser/in_process_webkit/webkit_context.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/in_process_webkit/webkit_context.cc')
-rw-r--r--chrome/browser/in_process_webkit/webkit_context.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/chrome/browser/in_process_webkit/webkit_context.cc b/chrome/browser/in_process_webkit/webkit_context.cc
index a5db03f..ae1665a 100644
--- a/chrome/browser/in_process_webkit/webkit_context.cc
+++ b/chrome/browser/in_process_webkit/webkit_context.cc
@@ -48,18 +48,19 @@ void WebKitContext::PurgeMemory() {
void WebKitContext::DeleteDataModifiedSince(
const base::Time& cutoff,
- const char* url_scheme_to_be_skipped) {
+ const char* url_scheme_to_be_skipped,
+ const std::vector<string16>& protected_origins) {
if (!ChromeThread::CurrentlyOn(ChromeThread::WEBKIT)) {
bool result = ChromeThread::PostTask(
ChromeThread::WEBKIT, FROM_HERE,
NewRunnableMethod(this, &WebKitContext::DeleteDataModifiedSince,
- cutoff, url_scheme_to_be_skipped));
+ cutoff, url_scheme_to_be_skipped, protected_origins));
DCHECK(result);
return;
}
- dom_storage_context_->DeleteDataModifiedSince(cutoff,
- url_scheme_to_be_skipped);
+ dom_storage_context_->DeleteDataModifiedSince(
+ cutoff, url_scheme_to_be_skipped, protected_origins);
}