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

Unified Diff: components/nacl/common/nacl_messages.h

Issue 1125043002: NaCl: Stop sending resource FDs with NaClProcessMsg_Start (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 5 years, 7 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 | « components/nacl/browser/nacl_process_host.cc ('k') | components/nacl/common/nacl_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/common/nacl_messages.h
diff --git a/components/nacl/common/nacl_messages.h b/components/nacl/common/nacl_messages.h
index 3bdd16e1ddae6b390372eac617675b54d1656214..90bd1445d3ee84ef98c6a13447d049944bad302a 100644
--- a/components/nacl/common/nacl_messages.h
+++ b/components/nacl/common/nacl_messages.h
@@ -17,7 +17,6 @@
IPC_STRUCT_TRAITS_BEGIN(nacl::NaClStartParams)
IPC_STRUCT_TRAITS_MEMBER(nexe_file)
IPC_STRUCT_TRAITS_MEMBER(nexe_file_path_metadata)
- IPC_STRUCT_TRAITS_MEMBER(prefetched_resource_files)
IPC_STRUCT_TRAITS_MEMBER(imc_bootstrap_handle)
IPC_STRUCT_TRAITS_MEMBER(irt_handle)
#if defined(OS_MACOSX)
@@ -44,7 +43,14 @@ IPC_STRUCT_TRAITS_END()
//-----------------------------------------------------------------------------
// NaClProcess messages
// These are messages sent between the browser and the NaCl process.
-// Tells the NaCl process to start.
+
+// Sends a prefetched resource file to a NaCl loader process. This message
+// can be sent multiple times, but all of them must be done before sending
+// NaClProcessMsg_Start.
+IPC_MESSAGE_CONTROL1(NaClProcessMsg_AddPrefetchedResource,
+ nacl::NaClResourcePrefetchResult)
+
+// Tells the NaCl process to start. This message can be sent only once.
IPC_MESSAGE_CONTROL1(NaClProcessMsg_Start,
nacl::NaClStartParams /* params */)
« no previous file with comments | « components/nacl/browser/nacl_process_host.cc ('k') | components/nacl/common/nacl_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698