Index: chrome/browser/worker_host/worker_process_host.h |
=================================================================== |
--- chrome/browser/worker_host/worker_process_host.h (revision 69229) |
+++ chrome/browser/worker_host/worker_process_host.h (working copy) |
@@ -7,13 +7,11 @@ |
#pragma once |
#include <list> |
-#include <vector> |
#include "base/basictypes.h" |
#include "base/callback.h" |
#include "base/file_path.h" |
#include "chrome/browser/browser_child_process_host.h" |
-#include "chrome/browser/browser_message_filter.h" |
#include "chrome/browser/net/chrome_url_request_context.h" |
#include "chrome/browser/worker_host/worker_document_set.h" |
#include "googleurl/src/gurl.h" |
@@ -148,16 +146,9 @@ |
Instances& mutable_instances() { return instances_; } |
private: |
- // ResourceDispatcherHost::Receiver implementation: |
- virtual URLRequestContext* GetRequestContext( |
- uint32 request_id, |
- const ViewHostMsg_Resource_Request& request_data); |
- |
// IPC::Channel::Listener implementation: |
// Called when a message arrives from the worker process. |
virtual void OnMessageReceived(const IPC::Message& message); |
- virtual void OnChannelConnected(int32 peer_pid); |
- virtual void OnChannelError(); |
// Creates and adds the message filters. |
void CreateMessageFilters(); |
@@ -208,11 +199,6 @@ |
scoped_refptr<ChromeURLRequestContext> request_context_; |
- // Holds all the IPC message filters. Since the worker process host is on the |
- // IO thread, we don't have a IPC::ChannelProxy and so we manage filters |
- // manually. |
- std::vector<scoped_refptr<BrowserMessageFilter> > filters_; |
- |
// A callback to create a routing id for the associated worker process. |
scoped_ptr<CallbackWithReturnValue<int>::Type> next_route_id_callback_; |