OLD | NEW |
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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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. */ | 278 /* Reports that the nexe has crashed. */ |
279 void NexeDidCrash([in] PP_Instance instance, | 279 void NexeDidCrash([in] PP_Instance instance); |
280 [in] str_t crash_log); | |
281 | 280 |
282 /* Performs internal setup when an instance is created. */ | 281 /* Performs internal setup when an instance is created. */ |
283 void InstanceCreated([in] PP_Instance instance); | 282 void InstanceCreated([in] PP_Instance instance); |
284 | 283 |
285 /* Performs internal cleanup when an instance is destroyed. */ | 284 /* Performs internal cleanup when an instance is destroyed. */ |
286 void InstanceDestroyed([in] PP_Instance instance); | 285 void InstanceDestroyed([in] PP_Instance instance); |
287 | 286 |
288 /* Return true if the NaCl debug stub is enabled and the app loaded from | 287 /* Return true if the NaCl debug stub is enabled and the app loaded from |
289 * alleged_nmf_url will be attached to a debugger. | 288 * alleged_nmf_url will be attached to a debugger. |
290 */ | 289 */ |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 * Otherwise, |stream_callback| is called repeatedly with blocks of data | 404 * Otherwise, |stream_callback| is called repeatedly with blocks of data |
406 * as they are received. |stream_finished_callback| is called after all | 405 * as they are received. |stream_finished_callback| is called after all |
407 * data has been received and dispatched to |stream_callback|. | 406 * data has been received and dispatched to |stream_callback|. |
408 */ | 407 */ |
409 void StreamPexe([in] PP_Instance instance, | 408 void StreamPexe([in] PP_Instance instance, |
410 [in] str_t pexe_url, | 409 [in] str_t pexe_url, |
411 [in] int32_t opt_level, | 410 [in] int32_t opt_level, |
412 [in] PPP_PexeStreamHandler stream_handler, | 411 [in] PPP_PexeStreamHandler stream_handler, |
413 [inout] mem_t stream_handler_user_data); | 412 [inout] mem_t stream_handler_user_data); |
414 }; | 413 }; |
OLD | NEW |