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

Unified Diff: chrome/renderer/pepper/ppb_nacl_private_impl.cc

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/common/render_messages.h ('k') | ipc/ipc_message_start.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/pepper/ppb_nacl_private_impl.cc
diff --git a/chrome/renderer/pepper/ppb_nacl_private_impl.cc b/chrome/renderer/pepper/ppb_nacl_private_impl.cc
index 307ed79ed364839942639192308165313a6ce7cc..54ba85ec7d29ecdc8591dc06f5179fccbdfd1aeb 100644
--- a/chrome/renderer/pepper/ppb_nacl_private_impl.cc
+++ b/chrome/renderer/pepper/ppb_nacl_private_impl.cc
@@ -11,7 +11,7 @@
#include "base/logging.h"
#include "base/rand_util.h"
#include "chrome/common/chrome_switches.h"
-#include "chrome/common/render_messages.h"
+#include "chrome/common/nacl_host_messages.h"
#include "chrome/renderer/chrome_render_process_observer.h"
#include "content/public/common/content_client.h"
#include "content/public/common/content_switches.h"
@@ -103,7 +103,7 @@ PP_NaClResult LaunchSelLdr(PP_Instance instance,
instance_info.permissions =
ppapi::PpapiPermissions::GetForCommandLine(perm_bits);
- if (!sender->Send(new ChromeViewHostMsg_LaunchNaCl(
+ if (!sender->Send(new NaClHostMsg_LaunchNaCl(
nacl::NaClLaunchParams(instance_info.url.spec(),
routing_id,
perm_bits,
@@ -213,7 +213,7 @@ PP_FileHandle GetReadonlyPnaclFD(const char* filename) {
if (sender == NULL)
sender = g_background_thread_sender.Pointer()->get();
- if (!sender->Send(new ChromeViewHostMsg_GetReadonlyPnaclFD(
+ if (!sender->Send(new NaClHostMsg_GetReadonlyPnaclFD(
std::string(filename),
&out_fd))) {
return base::kInvalidPlatformFileValue;
@@ -234,7 +234,7 @@ PP_FileHandle CreateTemporaryFile(PP_Instance instance) {
if (sender == NULL)
sender = g_background_thread_sender.Pointer()->get();
- if (!sender->Send(new ChromeViewHostMsg_NaClCreateTemporaryFile(
+ if (!sender->Send(new NaClHostMsg_NaClCreateTemporaryFile(
&transit_fd))) {
return base::kInvalidPlatformFileValue;
}
@@ -262,7 +262,7 @@ PP_NaClResult ReportNaClError(PP_Instance instance,
IPC::Sender* sender = content::RenderThread::Get();
if (!sender->Send(
- new ChromeViewHostMsg_NaClErrorStatus(
+ new NaClHostMsg_NaClErrorStatus(
// TODO(dschuff): does this enum need to be sent as an int,
// or is it safe to include the appropriate headers in
// render_messages.h?
@@ -285,7 +285,7 @@ PP_FileHandle OpenNaClExecutable(PP_Instance instance,
*nonce_hi = 0;
base::FilePath file_path;
if (!sender->Send(
- new ChromeViewHostMsg_OpenNaClExecutable(GetRoutingID(instance),
+ new NaClHostMsg_OpenNaClExecutable(GetRoutingID(instance),
GURL(file_url),
&out_fd,
nonce_lo,
« no previous file with comments | « chrome/common/render_messages.h ('k') | ipc/ipc_message_start.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698