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

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

Issue 18045007: Show more different NaCl loading errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 5 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
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. This interface is not versioned 6 /* This file contains NaCl private interfaces. This interface is not versioned
7 * and is for internal Chrome use. It may change without notice. */ 7 * and is for internal Chrome use. It may change without notice. */
8 8
9 #inline c 9 #inline c
10 #include "ppapi/c/private/pp_file_handle.h" 10 #include "ppapi/c/private/pp_file_handle.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 * The |enable_exception_handling| flag indicates whether or not the nexe 50 * The |enable_exception_handling| flag indicates whether or not the nexe
51 * will be able to use hardware exception handling. 51 * will be able to use hardware exception handling.
52 */ 52 */
53 PP_NaClResult LaunchSelLdr([in] PP_Instance instance, 53 PP_NaClResult LaunchSelLdr([in] PP_Instance instance,
54 [in] str_t alleged_url, 54 [in] str_t alleged_url,
55 [in] PP_Bool uses_irt, 55 [in] PP_Bool uses_irt,
56 [in] PP_Bool uses_ppapi, 56 [in] PP_Bool uses_ppapi,
57 [in] PP_Bool enable_ppapi_dev, 57 [in] PP_Bool enable_ppapi_dev,
58 [in] PP_Bool enable_dyncode_syscalls, 58 [in] PP_Bool enable_dyncode_syscalls,
59 [in] PP_Bool enable_exception_handling, 59 [in] PP_Bool enable_exception_handling,
60 [out] mem_t imc_handle); 60 [out] mem_t imc_handle,
61 [out] PP_Var error_message);
61 62
62 /* This function starts the IPC proxy so the nexe can communicate with the 63 /* This function starts the IPC proxy so the nexe can communicate with the
63 * browser. Returns PP_NACL_OK on success, otherwise a result code indicating 64 * browser. Returns PP_NACL_OK on success, otherwise a result code indicating
64 * the failure. PP_NACL_FAILED is returned if LaunchSelLdr wasn't called with 65 * the failure. PP_NACL_FAILED is returned if LaunchSelLdr wasn't called with
65 * the instance. PP_NACL_ERROR_MODULE is returned if the module can't be 66 * the instance. PP_NACL_ERROR_MODULE is returned if the module can't be
66 * initialized. PP_NACL_ERROR_INSTANCE is returned if the instance can't be 67 * initialized. PP_NACL_ERROR_INSTANCE is returned if the instance can't be
67 * initialized. PP_NACL_USE_SRPC is returned if the plugin should use SRPC. 68 * initialized. PP_NACL_USE_SRPC is returned if the plugin should use SRPC.
68 */ 69 */
69 PP_NaClResult StartPpapiProxy(PP_Instance instance); 70 PP_NaClResult StartPpapiProxy(PP_Instance instance);
70 71
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 155
155 /* Opens a NaCl executable file in the application's extension directory 156 /* Opens a NaCl executable file in the application's extension directory
156 * corresponding to the file URL and returns a file descriptor, or an invalid 157 * corresponding to the file URL and returns a file descriptor, or an invalid
157 * handle on failure. |metadata| is left unchanged on failure. 158 * handle on failure. |metadata| is left unchanged on failure.
158 */ 159 */
159 PP_FileHandle OpenNaClExecutable([in] PP_Instance instance, 160 PP_FileHandle OpenNaClExecutable([in] PP_Instance instance,
160 [in] str_t file_url, 161 [in] str_t file_url,
161 [out] uint64_t file_token_lo, 162 [out] uint64_t file_token_lo,
162 [out] uint64_t file_token_hi); 163 [out] uint64_t file_token_hi);
163 }; 164 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698