From 1787bb4ffda4373742250cdd539ef30d35dcb27f Mon Sep 17 00:00:00 2001 From: "jvoung@google.com" Date: Mon, 23 Jul 2012 22:26:50 +0000 Subject: Add a NaCl-Private interface for opening files in DIR_PNACL_COMPONENT. This will later be used in the NaCl plugin to grab "llc.nexe", and linker resources for PNaCl directly, instead of using the URL-downloader interface to get these from a chrome extension url. BUG= http://code.google.com/p/nativeclient/issues/detail?id=2365 TEST= pnacl_file_host_unittest (just checks path sanity checks) Review URL: https://chromiumcodereview.appspot.com/10662006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147968 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/render_messages.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chrome/common/render_messages.h') diff --git a/chrome/common/render_messages.h b/chrome/common/render_messages.h index 18c98c3..7825461 100644 --- a/chrome/common/render_messages.h +++ b/chrome/common/render_messages.h @@ -495,6 +495,12 @@ IPC_SYNC_MESSAGE_CONTROL2_2(ChromeViewHostMsg_LaunchNaCl, /* imc channel handles */, IPC::ChannelHandle /* ipc_channel_handle */) +// A renderer sends this to the browser process when it wants to start +// open a file for from the Pnacl component directory. +IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetReadonlyPnaclFD, + std::string /* name of requested PNaCl file */, + IPC::PlatformFileForTransit /* output file */) + // Notification that the page has an OpenSearch description document // associated with it. IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_PageHasOSDD, -- cgit v1.1