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

Side by Side Diff: ppapi/c/private/ppb_nacl_private.h

Issue 484783002: Pepper: Report NaCl exit status over Chromium IPC. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 6 years, 4 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 | « ppapi/api/private/ppb_nacl_private.idl ('k') | ppapi/native_client/src/trusted/plugin/plugin.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 /* From private/ppb_nacl_private.idl modified Thu Aug 14 11:48:23 2014. */ 6 /* From private/ppb_nacl_private.idl modified Thu Aug 21 11:14:10 2014. */
7 7
8 #ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ 8 #ifndef PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
9 #define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ 9 #define PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_
10 10
11 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_completion_callback.h" 12 #include "ppapi/c/pp_completion_callback.h"
13 #include "ppapi/c/pp_instance.h" 13 #include "ppapi/c/pp_instance.h"
14 #include "ppapi/c/pp_macros.h" 14 #include "ppapi/c/pp_macros.h"
15 #include "ppapi/c/pp_stdint.h" 15 #include "ppapi/c/pp_stdint.h"
16 #include "ppapi/c/pp_var.h" 16 #include "ppapi/c/pp_var.h"
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 */ 315 */
316 PP_Bool (*NaClDebugEnabledForURL)(const char* alleged_nmf_url); 316 PP_Bool (*NaClDebugEnabledForURL)(const char* alleged_nmf_url);
317 /* Returns the kind of SFI sandbox implemented by NaCl on this 317 /* Returns the kind of SFI sandbox implemented by NaCl on this
318 * platform. 318 * platform.
319 */ 319 */
320 const char* (*GetSandboxArch)(void); 320 const char* (*GetSandboxArch)(void);
321 /* Logs the message to the console. */ 321 /* Logs the message to the console. */
322 void (*LogToConsole)(PP_Instance instance, const char* message); 322 void (*LogToConsole)(PP_Instance instance, const char* message);
323 /* Returns the NaCl readiness status for this instance. */ 323 /* Returns the NaCl readiness status for this instance. */
324 PP_NaClReadyState (*GetNaClReadyState)(PP_Instance instance); 324 PP_NaClReadyState (*GetNaClReadyState)(PP_Instance instance);
325 /* Returns the exit status of the plugin process. */
326 int32_t (*GetExitStatus)(PP_Instance instance);
327 /* Sets the exit status of the plugin process. */
328 void (*SetExitStatus)(PP_Instance instance, int32_t exit_status);
329 /* Logs the message via VLOG. */ 325 /* Logs the message via VLOG. */
330 void (*Vlog)(const char* message); 326 void (*Vlog)(const char* message);
331 /* Initializes internal state for a NaCl plugin. */ 327 /* Initializes internal state for a NaCl plugin. */
332 void (*InitializePlugin)(PP_Instance instance, 328 void (*InitializePlugin)(PP_Instance instance,
333 uint32_t argc, 329 uint32_t argc,
334 const char* argn[], 330 const char* argn[],
335 const char* argv[]); 331 const char* argv[]);
336 /* Returns the size of the nexe. */ 332 /* Returns the size of the nexe. */
337 int64_t (*GetNexeSize)(PP_Instance instance); 333 int64_t (*GetNexeSize)(PP_Instance instance);
338 /* Requests the NaCl manifest specified in the plugin arguments. */ 334 /* Requests the NaCl manifest specified in the plugin arguments. */
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
411 void* stream_handler_user_data); 407 void* stream_handler_user_data);
412 }; 408 };
413 409
414 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; 410 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private;
415 /** 411 /**
416 * @} 412 * @}
417 */ 413 */
418 414
419 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ 415 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */
420 416
OLDNEW
« no previous file with comments | « ppapi/api/private/ppb_nacl_private.idl ('k') | ppapi/native_client/src/trusted/plugin/plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698