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

Unified Diff: chrome/browser/renderer_host/render_message_filter.h

Issue 6055002: Create a message filter for message port messages. This allows a nice cleanu... (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/renderer_host/render_message_filter.h
===================================================================
--- chrome/browser/renderer_host/render_message_filter.h (revision 69724)
+++ chrome/browser/renderer_host/render_message_filter.h (working copy)
@@ -15,7 +15,6 @@
#include "app/clipboard/clipboard.h"
#include "app/surface/transport_dib.h"
-#include "base/callback.h"
#include "base/file_path.h"
#include "base/linked_ptr.h"
#include "base/string16.h"
@@ -40,7 +39,6 @@
class RenderWidgetHelper;
class URLRequestContextGetter;
struct ViewHostMsg_CreateWindow_Params;
-struct ViewHostMsg_CreateWorker_Params;
struct WebPluginInfo;
namespace base {
@@ -70,8 +68,6 @@
RenderWidgetHelper* render_widget_helper);
// BrowserMessageFilter methods:
- virtual void OnChannelConnected(int32 peer_pid);
- virtual void OnChannelError();
virtual bool OnMessageReceived(const IPC::Message& message,
bool* message_was_ok);
virtual void OnDestruct() const;
@@ -81,9 +77,6 @@
return resource_dispatcher_host_;
}
bool off_the_record() { return off_the_record_; }
- CallbackWithReturnValue<int>::Type* next_route_id_callback() {
- return next_route_id_callback_.get();
- }
// Returns either the extension URLRequestContext or regular URLRequestContext
// depending on whether |url| is an extension URL.
@@ -165,15 +158,6 @@
void OnLaunchNaCl(const std::wstring& url,
int channel_descriptor,
IPC::Message* reply_msg);
- void OnCreateWorker(const ViewHostMsg_CreateWorker_Params& params,
- int* route_id);
- void OnLookupSharedWorker(const ViewHostMsg_CreateWorker_Params& params,
- bool* exists,
- int* route_id,
- bool* url_error);
- void OnDocumentDetached(unsigned long long document_id);
- void OnCancelCreateDedicatedWorker(int route_id);
- void OnForwardToWorker(const IPC::Message& msg);
void OnDownloadUrl(const IPC::Message& message,
const GURL& url,
const GURL& referrer);
@@ -419,9 +403,6 @@
// A list of all Ppapi plugin processes for this renderer.
std::vector<linked_ptr<PpapiPluginProcessHost> > ppapi_plugin_hosts_;
- // A callback to create a routing id for the associated renderer process.
- scoped_ptr<CallbackWithReturnValue<int>::Type> next_route_id_callback_;
-
scoped_refptr<WebKitContext> webkit_context_;
int render_process_id_;

Powered by Google App Engine
This is Rietveld 408576698