Index: content/common/child_thread.cc |
diff --git a/content/common/child_thread.cc b/content/common/child_thread.cc |
index 574b43b6c817e98abc601acc4596977ebfb11694..92d2ccac0af39c2efd4aa36c76a6bd1581a98211 100644 |
--- a/content/common/child_thread.cc |
+++ b/content/common/child_thread.cc |
@@ -13,6 +13,7 @@ |
#include "content/common/content_switches.h" |
#include "content/common/file_system/file_system_dispatcher.h" |
#include "content/common/notification_service.h" |
+#include "content/common/quota_dispatcher.h" |
#include "content/common/resource_dispatcher.h" |
#include "content/common/socket_stream_dispatcher.h" |
#include "ipc/ipc_logging.h" |
@@ -53,6 +54,7 @@ void ChildThread::Init() { |
resource_dispatcher_.reset(new ResourceDispatcher(this)); |
socket_stream_dispatcher_.reset(new SocketStreamDispatcher()); |
file_system_dispatcher_.reset(new FileSystemDispatcher()); |
+ quota_dispatcher_.reset(new QuotaDispatcher()); |
sync_message_filter_ = |
new IPC::SyncMessageFilter(ChildProcess::current()->GetShutDownEvent()); |
@@ -150,6 +152,8 @@ bool ChildThread::OnMessageReceived(const IPC::Message& msg) { |
return true; |
if (file_system_dispatcher_->OnMessageReceived(msg)) |
return true; |
+ if (quota_dispatcher_->OnMessageReceived(msg)) |
+ return true; |
bool handled = true; |
IPC_BEGIN_MESSAGE_MAP(ChildThread, msg) |