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

Unified Diff: content/browser/dom_storage/dom_storage_message_filter_new.cc

Issue 9718029: DomStorage commit task sequencing. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 9 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
« no previous file with comments | « no previous file | webkit/dom_storage/dom_storage_area.h » ('j') | webkit/dom_storage/dom_storage_area.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/dom_storage/dom_storage_message_filter_new.cc
===================================================================
--- content/browser/dom_storage/dom_storage_message_filter_new.cc (revision 127221)
+++ content/browser/dom_storage/dom_storage_message_filter_new.cc (working copy)
@@ -47,7 +47,7 @@
void DOMStorageMessageFilter::OnFilterAdded(IPC::Channel* channel) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
BrowserMessageFilter::OnFilterAdded(channel);
- context_->task_runner()->PostTask(
+ context_->task_runner()->PostShutdownBlockingTask(
FROM_HERE,
base::Bind(&DOMStorageMessageFilter::InitializeInSequence, this));
}
@@ -55,7 +55,7 @@
void DOMStorageMessageFilter::OnFilterRemoved() {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
BrowserMessageFilter::OnFilterRemoved();
- context_->task_runner()->PostTask(
+ context_->task_runner()->PostShutdownBlockingTask(
FROM_HERE,
base::Bind(&DOMStorageMessageFilter::UninitializeInSequence, this));
}
« no previous file with comments | « no previous file | webkit/dom_storage/dom_storage_area.h » ('j') | webkit/dom_storage/dom_storage_area.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698