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

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: 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 /* 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
397 * Otherwise, |stream_callback| is called repeatedly with blocks of data 394 * Otherwise, |stream_callback| is called repeatedly with blocks of data
398 * as they are received. |stream_finished_callback| is called after all 395 * as they are received. |stream_finished_callback| is called after all
399 * data has been received and dispatched to |stream_callback|. 396 * data has been received and dispatched to |stream_callback|.
400 */ 397 */
401 void StreamPexe([in] PP_Instance instance, 398 void StreamPexe([in] PP_Instance instance,
402 [in] str_t pexe_url, 399 [in] str_t pexe_url,
403 [in] int32_t opt_level, 400 [in] int32_t opt_level,
404 [in] PPP_PexeStreamHandler stream_handler, 401 [in] PPP_PexeStreamHandler stream_handler,
405 [inout] mem_t stream_handler_user_data); 402 [inout] mem_t stream_handler_user_data);
406 }; 403 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698