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

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

Issue 512323002: NaCl: Detect plugin crashes via EOF on Chromium IPC. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased 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
« no previous file with comments | « components/nacl/renderer/trusted_plugin_channel.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. 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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 [in] uint64_t total_bytes); 268 [in] uint64_t total_bytes);
269 269
270 /* Report an error that occured while attempting to load a nexe. */ 270 /* Report an error that occured while attempting to load a nexe. */
271 void ReportLoadError([in] PP_Instance instance, 271 void ReportLoadError([in] PP_Instance instance,
272 [in] PP_NaClError error, 272 [in] PP_NaClError error,
273 [in] str_t error_message); 273 [in] str_t error_message);
274 274
275 /* Reports that loading a nexe was aborted. */ 275 /* Reports that loading a nexe was aborted. */
276 void ReportLoadAbort([in] PP_Instance instance); 276 void ReportLoadAbort([in] PP_Instance instance);
277 277
278 /* Reports that the nexe has crashed. */
279 void NexeDidCrash([in] PP_Instance instance);
280
281 /* Performs internal setup when an instance is created. */ 278 /* Performs internal setup when an instance is created. */
282 void InstanceCreated([in] PP_Instance instance); 279 void InstanceCreated([in] PP_Instance instance);
283 280
284 /* Performs internal cleanup when an instance is destroyed. */ 281 /* Performs internal cleanup when an instance is destroyed. */
285 void InstanceDestroyed([in] PP_Instance instance); 282 void InstanceDestroyed([in] PP_Instance instance);
286 283
287 /* Return true if the NaCl debug stub is enabled and the app loaded from 284 /* Return true if the NaCl debug stub is enabled and the app loaded from
288 * alleged_nmf_url will be attached to a debugger. 285 * alleged_nmf_url will be attached to a debugger.
289 */ 286 */
290 PP_Bool NaClDebugEnabledForURL([in] str_t alleged_nmf_url); 287 PP_Bool NaClDebugEnabledForURL([in] str_t alleged_nmf_url);
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 * Otherwise, |stream_callback| is called repeatedly with blocks of data 388 * Otherwise, |stream_callback| is called repeatedly with blocks of data
392 * as they are received. |stream_finished_callback| is called after all 389 * as they are received. |stream_finished_callback| is called after all
393 * data has been received and dispatched to |stream_callback|. 390 * data has been received and dispatched to |stream_callback|.
394 */ 391 */
395 void StreamPexe([in] PP_Instance instance, 392 void StreamPexe([in] PP_Instance instance,
396 [in] str_t pexe_url, 393 [in] str_t pexe_url,
397 [in] int32_t opt_level, 394 [in] int32_t opt_level,
398 [in] PPP_PexeStreamHandler stream_handler, 395 [in] PPP_PexeStreamHandler stream_handler,
399 [inout] mem_t stream_handler_user_data); 396 [inout] mem_t stream_handler_user_data);
400 }; 397 };
OLDNEW
« no previous file with comments | « components/nacl/renderer/trusted_plugin_channel.cc ('k') | ppapi/c/private/ppb_nacl_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698