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

Unified Diff: content/common/child_thread.cc

Issue 8747002: Dispatch IndexedDB IPC messages to worker threads (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove some includes 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/common/child_thread.cc
diff --git a/content/common/child_thread.cc b/content/common/child_thread.cc
index fedd88ecbd7564ac9b684448b36a1b20284d1f3f..c16f3a75ed6edf599f61afe4859ad7c2e68f7415 100644
--- a/content/common/child_thread.cc
+++ b/content/common/child_thread.cc
@@ -14,6 +14,7 @@
#include "content/common/child_process_messages.h"
#include "content/common/child_trace_message_filter.h"
#include "content/common/file_system/file_system_dispatcher.h"
+#include "content/common/indexed_db_message_filter.h"
#include "content/common/quota_dispatcher.h"
#include "content/common/resource_dispatcher.h"
#include "content/common/socket_stream_dispatcher.h"
@@ -60,6 +61,9 @@ void ChildThread::Init() {
new IPC::SyncMessageFilter(ChildProcess::current()->GetShutDownEvent());
channel_->AddFilter(sync_message_filter_.get());
channel_->AddFilter(new ChildTraceMessageFilter());
+
+ idb_message_filter_ = new IndexedDBMessageFilter;
+ channel_->AddFilter(idb_message_filter_.get());
michaeln 2011/12/14 02:15:53 The data member isn't used, would it work to just
dgrogan 2011/12/15 02:47:44 Yes, this works, it causes the ipc channel to be t
}
ChildThread::~ChildThread() {

Powered by Google App Engine
This is Rietveld 408576698