summaryrefslogtreecommitdiffstats
path: root/chrome/browser/worker_host
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-15 03:05:58 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-15 03:05:58 +0000
commit56314f7ec1fbbe0ca00ef8dadc0bcdc39ea2ef1d (patch)
tree1409f095e0e3b6728e52a0279a0a61da0327c755 /chrome/browser/worker_host
parent3116ebe19e1ed9c9f71ce87124e029fec2768479 (diff)
downloadchromium_src-56314f7ec1fbbe0ca00ef8dadc0bcdc39ea2ef1d.zip
chromium_src-56314f7ec1fbbe0ca00ef8dadc0bcdc39ea2ef1d.tar.gz
chromium_src-56314f7ec1fbbe0ca00ef8dadc0bcdc39ea2ef1d.tar.bz2
Make SocketStreamDispatcherHost a BrowserMessageFilter.
This change undoes most of http://src.chromium.org/viewvc/chrome?view=rev&revision=33953, since those changes weren't needed. Review URL: http://codereview.chromium.org/5850001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69223 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/worker_host')
-rw-r--r--chrome/browser/worker_host/worker_process_host.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/worker_host/worker_process_host.cc b/chrome/browser/worker_host/worker_process_host.cc
index c1359cb..f240fcc 100644
--- a/chrome/browser/worker_host/worker_process_host.cc
+++ b/chrome/browser/worker_host/worker_process_host.cc
@@ -27,6 +27,7 @@
#include "chrome/browser/renderer_host/render_view_host.h"
#include "chrome/browser/renderer_host/render_view_host_delegate.h"
#include "chrome/browser/renderer_host/render_view_host_notification_task.h"
+#include "chrome/browser/renderer_host/socket_stream_dispatcher_host.h"
#include "chrome/browser/worker_host/message_port_dispatcher.h"
#include "chrome/browser/worker_host/worker_service.h"
#include "chrome/common/chrome_switches.h"
@@ -205,6 +206,7 @@ void WorkerProcessHost::CreateMessageFilters() {
filters_.push_back(new DatabaseMessageFilter(
request_context_->database_tracker(),
request_context_->host_content_settings_map()));
+ filters_.push_back(new SocketStreamDispatcherHost());
for (size_t i = 0; i < filters_.size(); ++i)
filters_[i]->OnFilterAdded(channel());