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

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

Issue 24514003: Make BrowserMessageFilter not derive from IPC::ChannelProxy::MessageFilter. This allows us to hide … (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 3 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/dom_storage/dom_storage_message_filter.cc
===================================================================
--- content/browser/dom_storage/dom_storage_message_filter.cc (revision 225319)
+++ content/browser/dom_storage/dom_storage_message_filter.cc (working copy)
@@ -46,8 +46,6 @@
}
void DOMStorageMessageFilter::OnFilterAdded(IPC::Channel* channel) {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
michaeln 2013/09/26 20:30:16 is this no longer executed on the IO thread or are
jam 2013/09/26 20:33:18 these methods are all called on the IO thread. i'm
- BrowserMessageFilter::OnFilterAdded(channel);
context_->task_runner()->PostShutdownBlockingTask(
FROM_HERE,
DOMStorageTaskRunner::PRIMARY_SEQUENCE,
@@ -55,8 +53,6 @@
}
void DOMStorageMessageFilter::OnFilterRemoved() {
- DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
- BrowserMessageFilter::OnFilterRemoved();
context_->task_runner()->PostShutdownBlockingTask(
FROM_HERE,
DOMStorageTaskRunner::PRIMARY_SEQUENCE,

Powered by Google App Engine
This is Rietveld 408576698