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

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
« no previous file with comments | « chrome/browser/nacl_host/nacl_host_message_filter.cc ('k') | chrome/browser/nacl_host/nacl_process_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3df8c27d1cd15d9c5403ad040a7a6307427b14a4..4f15e8a3374212fa7701267c2502c7cc7b5d9df3 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;
@@ -63,7 +63,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);
@@ -168,9 +168,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
« no previous file with comments | « chrome/browser/nacl_host/nacl_host_message_filter.cc ('k') | chrome/browser/nacl_host/nacl_process_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698