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

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

Issue 512323002: NaCl: Detect plugin crashes via EOF on Chromium IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
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 21 11:14:10 2014. */ 6 /* From private/ppb_nacl_private.idl modified Thu Aug 28 11:37:34 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 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 /* Report that the nexe loaded successfully. */ 297 /* Report that the nexe loaded successfully. */
298 void (*ReportLoadSuccess)(PP_Instance instance, 298 void (*ReportLoadSuccess)(PP_Instance instance,
299 uint64_t loaded_bytes, 299 uint64_t loaded_bytes,
300 uint64_t total_bytes); 300 uint64_t total_bytes);
301 /* Report an error that occured while attempting to load a nexe. */ 301 /* Report an error that occured while attempting to load a nexe. */
302 void (*ReportLoadError)(PP_Instance instance, 302 void (*ReportLoadError)(PP_Instance instance,
303 PP_NaClError error, 303 PP_NaClError error,
304 const char* error_message); 304 const char* error_message);
305 /* Reports that loading a nexe was aborted. */ 305 /* Reports that loading a nexe was aborted. */
306 void (*ReportLoadAbort)(PP_Instance instance); 306 void (*ReportLoadAbort)(PP_Instance instance);
307 /* Reports that the nexe has crashed. */
308 void (*NexeDidCrash)(PP_Instance instance);
309 /* Performs internal setup when an instance is created. */ 307 /* Performs internal setup when an instance is created. */
310 void (*InstanceCreated)(PP_Instance instance); 308 void (*InstanceCreated)(PP_Instance instance);
311 /* Performs internal cleanup when an instance is destroyed. */ 309 /* Performs internal cleanup when an instance is destroyed. */
312 void (*InstanceDestroyed)(PP_Instance instance); 310 void (*InstanceDestroyed)(PP_Instance instance);
313 /* Return true if the NaCl debug stub is enabled and the app loaded from 311 /* Return true if the NaCl debug stub is enabled and the app loaded from
314 * alleged_nmf_url will be attached to a debugger. 312 * alleged_nmf_url will be attached to a debugger.
315 */ 313 */
316 PP_Bool (*NaClDebugEnabledForURL)(const char* alleged_nmf_url); 314 PP_Bool (*NaClDebugEnabledForURL)(const char* alleged_nmf_url);
317 /* Returns the kind of SFI sandbox implemented by NaCl on this 315 /* Returns the kind of SFI sandbox implemented by NaCl on this
318 * platform. 316 * platform.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 void* stream_handler_user_data); 405 void* stream_handler_user_data);
408 }; 406 };
409 407
410 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private; 408 typedef struct PPB_NaCl_Private_1_0 PPB_NaCl_Private;
411 /** 409 /**
412 * @} 410 * @}
413 */ 411 */
414 412
415 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */ 413 #endif /* PPAPI_C_PRIVATE_PPB_NACL_PRIVATE_H_ */
416 414
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698