summaryrefslogtreecommitdiffstats
path: root/chrome/common/render_messages.h
diff options
context:
space:
mode:
authorjvoung@google.com <jvoung@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-23 22:26:50 +0000
committerjvoung@google.com <jvoung@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-23 22:26:50 +0000
commit1787bb4ffda4373742250cdd539ef30d35dcb27f (patch)
treec37610698927c72661024fb1d690d44c824f2d02 /chrome/common/render_messages.h
parent89793070e272006f7ec6101619080812687f38cb (diff)
downloadchromium_src-1787bb4ffda4373742250cdd539ef30d35dcb27f.zip
chromium_src-1787bb4ffda4373742250cdd539ef30d35dcb27f.tar.gz
chromium_src-1787bb4ffda4373742250cdd539ef30d35dcb27f.tar.bz2
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
Diffstat (limited to 'chrome/common/render_messages.h')
-rw-r--r--chrome/common/render_messages.h6
1 files changed, 6 insertions, 0 deletions
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,