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

Unified Diff: chrome/browser/nacl_host/nacl_process_host.h

Issue 15906013: Separate NaCl messages from the rest of chrome messages and create a new message filter. This is pa… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 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
Index: chrome/browser/nacl_host/nacl_process_host.h
diff --git a/chrome/browser/nacl_host/nacl_process_host.h b/chrome/browser/nacl_host/nacl_process_host.h
index 5a0d80b7ebf8a584673c125fb6d0264e4edac1f4..3159b7c3425130b67908f3d7a0222405f484dc95 100644
--- a/chrome/browser/nacl_host/nacl_process_host.h
+++ b/chrome/browser/nacl_host/nacl_process_host.h
@@ -21,7 +21,7 @@
#include "net/socket/tcp_listen_socket.h"
#include "ppapi/shared_impl/ppapi_permissions.h"
-class ChromeRenderMessageFilter;
+class NaClHostMessageFilter;
class CommandLine;
class ExtensionInfoMap;
@@ -62,7 +62,7 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate {
// Initialize the new NaCl process. Result is returned by sending ipc
// message reply_msg.
- void Launch(ChromeRenderMessageFilter* chrome_render_message_filter,
+ void Launch(NaClHostMessageFilter* nacl_host_message_filter,
IPC::Message* reply_msg,
scoped_refptr<ExtensionInfoMap> extension_info_map);
@@ -179,9 +179,9 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate {
class NaClGdbWatchDelegate;
scoped_ptr<NaClGdbWatchDelegate> nacl_gdb_watcher_delegate_;
#endif
- // The ChromeRenderMessageFilter that requested this NaCl process. We use
+ // The NaClHostMessageFilter that requested this NaCl process. We use
// this for sending the reply once the process has started.
- scoped_refptr<ChromeRenderMessageFilter> chrome_render_message_filter_;
+ scoped_refptr<NaClHostMessageFilter> nacl_host_message_filter_;
// The reply message to send. We must always send this message when the
// sub-process either succeeds or fails to unblock the renderer waiting for

Powered by Google App Engine
This is Rietveld 408576698