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

Side by Side Diff: ppapi/api/private/ppb_nacl_private.idl

Issue 11761025: When launching PNaCl helper nexes, explicitly disable IRT loading. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: don't forget to serialize Created 7 years, 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/pepper/ppb_nacl_private_impl.cc ('k') | ppapi/c/private/ppb_nacl_private.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /* This file contains NaCl private interfaces. */ 6 /* This file contains NaCl private interfaces. */
7 7
8 #inline c 8 #inline c
9 #include "ppapi/c/private/pp_file_handle.h" 9 #include "ppapi/c/private/pp_file_handle.h"
10 #endinl 10 #endinl
(...skipping 26 matching lines...) Expand all
37 37
38 /* PPB_NaCl_Private */ 38 /* PPB_NaCl_Private */
39 interface PPB_NaCl_Private { 39 interface PPB_NaCl_Private {
40 /* Launches NaCl's sel_ldr process. Returns PP_NACL_OK on success and 40 /* Launches NaCl's sel_ldr process. Returns PP_NACL_OK on success and
41 * writes a nacl::Handle to imc_handle. Returns PP_NACL_FAILED on failure. 41 * writes a nacl::Handle to imc_handle. Returns PP_NACL_FAILED on failure.
42 * The |enable_ppapi_dev| parameter controls whether GetInterface 42 * The |enable_ppapi_dev| parameter controls whether GetInterface
43 * returns 'Dev' interfaces to the NaCl plugin. The |uses_ppapi| flag 43 * returns 'Dev' interfaces to the NaCl plugin. The |uses_ppapi| flag
44 * indicates that the nexe run by sel_ldr will use the PPAPI APIs. 44 * indicates that the nexe run by sel_ldr will use the PPAPI APIs.
45 * This implies that LaunchSelLdr is run from the main thread. If a nexe 45 * This implies that LaunchSelLdr is run from the main thread. If a nexe
46 * does not need PPAPI, then it can run off the main thread. 46 * does not need PPAPI, then it can run off the main thread.
47 * The |uses_irt| flag indicates whether the IRT should be loaded in this
48 * NaCl process. This is true for ABI stable nexes.
47 */ 49 */
48 PP_NaClResult LaunchSelLdr([in] PP_Instance instance, 50 PP_NaClResult LaunchSelLdr([in] PP_Instance instance,
49 [in] str_t alleged_url, 51 [in] str_t alleged_url,
52 [in] PP_Bool uses_irt,
50 [in] PP_Bool uses_ppapi, 53 [in] PP_Bool uses_ppapi,
51 [in] PP_Bool enable_ppapi_dev, 54 [in] PP_Bool enable_ppapi_dev,
52 [out] mem_t imc_handle); 55 [out] mem_t imc_handle);
53 56
54 /* This function starts the IPC proxy so the nexe can communicate with the 57 /* This function starts the IPC proxy so the nexe can communicate with the
55 * browser. Returns PP_NACL_OK on success, otherwise a result code indicating 58 * browser. Returns PP_NACL_OK on success, otherwise a result code indicating
56 * the failure. PP_NACL_FAILED is returned if LaunchSelLdr wasn't called with 59 * the failure. PP_NACL_FAILED is returned if LaunchSelLdr wasn't called with
57 * the instance. PP_NACL_ERROR_MODULE is returned if the module can't be 60 * the instance. PP_NACL_ERROR_MODULE is returned if the module can't be
58 * initialized. PP_NACL_ERROR_INSTANCE is returned if the instance can't be 61 * initialized. PP_NACL_ERROR_INSTANCE is returned if the instance can't be
59 * initialized. PP_NACL_USE_SRPC is returned if the plugin should use SRPC. 62 * initialized. PP_NACL_USE_SRPC is returned if the plugin should use SRPC.
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 PP_Bool IsOffTheRecord(); 108 PP_Bool IsOffTheRecord();
106 109
107 /* Return true if PNaCl is turned on. 110 /* Return true if PNaCl is turned on.
108 */ 111 */
109 PP_Bool IsPnaclEnabled(); 112 PP_Bool IsPnaclEnabled();
110 113
111 /* Display a UI message to the user. */ 114 /* Display a UI message to the user. */
112 PP_NaClResult ReportNaClError([in] PP_Instance instance, 115 PP_NaClResult ReportNaClError([in] PP_Instance instance,
113 [in] PP_NaClError message_id); 116 [in] PP_NaClError message_id);
114 }; 117 };
OLDNEW
« no previous file with comments | « chrome/renderer/pepper/ppb_nacl_private_impl.cc ('k') | ppapi/c/private/ppb_nacl_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698