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

Unified Diff: chrome/browser/worker_host/worker_process_host.h

Issue 5874002: Create a ResourceMessageFilter to filter resource related IPCs. This gets ri... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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: 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_;

Powered by Google App Engine
This is Rietveld 408576698