Index: content/public/browser/render_process_host.h |
=================================================================== |
--- content/public/browser/render_process_host.h (revision 225900) |
+++ content/public/browser/render_process_host.h (working copy) |
@@ -18,17 +18,15 @@ |
class GURL; |
struct ViewMsg_SwapOut_Params; |
-namespace content { |
-class BrowserContext; |
-class RenderWidgetHost; |
-class StoragePartition; |
-} |
- |
namespace base { |
class TimeDelta; |
} |
namespace content { |
+class BrowserContext; |
+class BrowserMessageFilter; |
+class RenderWidgetHost; |
+class StoragePartition; |
typedef base::Thread* (*RendererMainThreadFactoryFunction)( |
const std::string& id); |
@@ -160,6 +158,9 @@ |
// Returns the renderer channel. |
virtual IPC::ChannelProxy* GetChannel() = 0; |
+ // Adds a message filter to the IPC channel. |
+ virtual void AddFilter(BrowserMessageFilter* filter) = 0; |
+ |
// Try to shutdown the associated render process as fast as possible |
virtual bool FastShutdownForPageCount(size_t count) = 0; |