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

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: rebase 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 4ee83c37edac8c9586b34e36697834020a53293c..e357d403f21c2419fbe36fcc49857d0649392a57 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);
@@ -167,9 +167,9 @@ class NaClProcessHost : public content::BrowserChildProcessHostDelegate {
// the NaCl loader.
bool process_launched_by_broker_;
#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