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

Unified Diff: content/public/browser/render_process_host.h

Issue 24514003: Make BrowserMessageFilter not derive from IPC::ChannelProxy::MessageFilter. This allows us to hide … (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 7 years, 3 months 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
« no previous file with comments | « content/public/browser/browser_message_filter.cc ('k') | content/public/test/mock_render_process_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « content/public/browser/browser_message_filter.cc ('k') | content/public/test/mock_render_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698