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

Unified Diff: ppapi/c/private/ppb_nacl_private.h

Issue 11428063: Add a flag to LaunchSelLdr to skip grabbing a routing_id. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reduce mod Created 8 years, 1 month 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 | « ppapi/api/private/ppb_nacl_private.idl ('k') | ppapi/native_client/src/trusted/plugin/nacl_entry_points.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/private/ppb_nacl_private.h
diff --git a/ppapi/c/private/ppb_nacl_private.h b/ppapi/c/private/ppb_nacl_private.h
index 57941641b671d2a09d0b33d7caa2ea06eab1f1c2..5a4e2bf6368b9d95b867313cc275595d9615359c 100644
--- a/ppapi/c/private/ppb_nacl_private.h
+++ b/ppapi/c/private/ppb_nacl_private.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From private/ppb_nacl_private.idl modified Tue Nov 20 08:49:26 2012. */
+/* From private/ppb_nacl_private.idl modified Thu Nov 29 15:01:09 2012. */
#ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
#define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
@@ -56,10 +56,14 @@ struct PPB_NaCl_Private_1_0 {
/* Launches NaCl's sel_ldr process. Returns PP_NACL_OK on success and writes
* |socket_count| nacl::Handles to imc_handles. Returns PP_NACL_FAILED on
* failure. The |enable_ppapi_dev| parameter controls whether GetInterface
- * returns 'Dev' interfaces to the NaCl plugin.
+ * returns 'Dev' interfaces to the NaCl plugin. The |uses_ppapi| flag
+ * indicates that the nexe run by sel_ldr will use the PPAPI APIs.
+ * This implies that LaunchSelLdr is run from the main thread. If a nexe
+ * does not need PPAPI, then it can run off the main thread.
*/
PP_NaClResult (*LaunchSelLdr)(PP_Instance instance,
const char* alleged_url,
+ PP_Bool uses_ppapi,
PP_Bool enable_ppapi_dev,
int32_t socket_count,
void* imc_handles);
« no previous file with comments | « ppapi/api/private/ppb_nacl_private.idl ('k') | ppapi/native_client/src/trusted/plugin/nacl_entry_points.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698