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

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

Issue 282683002: Pepper: Simplify LaunchSelLdr error reporting. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 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 label Chrome { 9 label Chrome {
10 M25 = 1.0 10 M25 = 1.0
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
181 * be used with the binary pointed by the url. 181 * be used with the binary pointed by the url.
182 * The |enable_dyncode_syscalls| flag indicates whether or not the nexe 182 * The |enable_dyncode_syscalls| flag indicates whether or not the nexe
183 * will be able to use dynamic code system calls (e.g., mmap with PROT_EXEC). 183 * will be able to use dynamic code system calls (e.g., mmap with PROT_EXEC).
184 * The |enable_exception_handling| flag indicates whether or not the nexe 184 * The |enable_exception_handling| flag indicates whether or not the nexe
185 * will be able to use hardware exception handling. 185 * will be able to use hardware exception handling.
186 * The |enable_crash_throttling| flag indicates whether or not crashes of 186 * The |enable_crash_throttling| flag indicates whether or not crashes of
187 * the nexe contribute to crash throttling statisics and whether nexe starts 187 * the nexe contribute to crash throttling statisics and whether nexe starts
188 * are throttled by crash throttling. 188 * are throttled by crash throttling.
189 */ 189 */
190 void LaunchSelLdr([in] PP_Instance instance, 190 void LaunchSelLdr([in] PP_Instance instance,
191 [in] PP_Bool main_service_runtime,
191 [in] str_t alleged_url, 192 [in] str_t alleged_url,
192 [in] PP_Bool uses_irt, 193 [in] PP_Bool uses_irt,
193 [in] PP_Bool uses_ppapi, 194 [in] PP_Bool uses_ppapi,
194 [in] PP_Bool uses_nonsfi_mode, 195 [in] PP_Bool uses_nonsfi_mode,
195 [in] PP_Bool enable_ppapi_dev, 196 [in] PP_Bool enable_ppapi_dev,
196 [in] PP_Bool enable_dyncode_syscalls, 197 [in] PP_Bool enable_dyncode_syscalls,
197 [in] PP_Bool enable_exception_handling, 198 [in] PP_Bool enable_exception_handling,
198 [in] PP_Bool enable_crash_throttling, 199 [in] PP_Bool enable_crash_throttling,
199 [in] PPP_ManifestService manifest_service_interface, 200 [in] PPP_ManifestService manifest_service_interface,
200 [inout] mem_t manifest_service_user_data, 201 [inout] mem_t manifest_service_user_data,
201 [out] mem_t imc_handle, 202 [out] mem_t imc_handle,
202 [out] PP_Var error_message,
203 [in] PP_CompletionCallback callback); 203 [in] PP_CompletionCallback callback);
204 204
205 /* This function starts the IPC proxy so the nexe can communicate with the 205 /* This function starts the IPC proxy so the nexe can communicate with the
206 * browser. 206 * browser.
207 */ 207 */
208 PP_Bool StartPpapiProxy(PP_Instance instance); 208 PP_Bool StartPpapiProxy(PP_Instance instance);
209 209
210 /* On POSIX systems, this function returns the file descriptor of 210 /* On POSIX systems, this function returns the file descriptor of
211 * /dev/urandom. On non-POSIX systems, this function returns 0. 211 * /dev/urandom. On non-POSIX systems, this function returns 0.
212 */ 212 */
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 // of attributes supported by LLVM in its -mattr= option: 446 // of attributes supported by LLVM in its -mattr= option:
447 // http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr 447 // http://llvm.org/docs/CommandGuide/llc.html#cmdoption-mattr
448 PP_Var GetCpuFeatureAttrs(); 448 PP_Var GetCpuFeatureAttrs();
449 449
450 /* Posts a message to the JavaScript object for the given instance. 450 /* Posts a message to the JavaScript object for the given instance.
451 * This method may be called on any thread. 451 * This method may be called on any thread.
452 */ 452 */
453 void PostMessageToJavaScript([in] PP_Instance instance, 453 void PostMessageToJavaScript([in] PP_Instance instance,
454 [in] str_t message); 454 [in] str_t message);
455 }; 455 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698