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 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 | 303 |
304 /* Report that the nexe loaded successfully. */ | 304 /* Report that the nexe loaded successfully. */ |
305 void ReportLoadSuccess([in] PP_Instance instance, | 305 void ReportLoadSuccess([in] PP_Instance instance, |
306 [in] str_t url, | 306 [in] str_t url, |
307 [in] uint64_t loaded_bytes, | 307 [in] uint64_t loaded_bytes, |
308 [in] uint64_t total_bytes); | 308 [in] uint64_t total_bytes); |
309 | 309 |
310 /* Report an error that occured while attempting to load a nexe. */ | 310 /* Report an error that occured while attempting to load a nexe. */ |
311 void ReportLoadError([in] PP_Instance instance, | 311 void ReportLoadError([in] PP_Instance instance, |
312 [in] PP_NaClError error, | 312 [in] PP_NaClError error, |
313 [in] str_t error_message, | 313 [in] str_t error_message); |
314 [in] str_t console_message); | |
315 | 314 |
316 /* Reports that loading a nexe was aborted. */ | 315 /* Reports that loading a nexe was aborted. */ |
317 void ReportLoadAbort([in] PP_Instance instance); | 316 void ReportLoadAbort([in] PP_Instance instance); |
318 | 317 |
319 /* Reports that the nexe has crashed. */ | 318 /* Reports that the nexe has crashed. */ |
320 void NexeDidCrash([in] PP_Instance instance, | 319 void NexeDidCrash([in] PP_Instance instance, |
321 [in] str_t crash_log); | 320 [in] str_t crash_log); |
322 | 321 |
323 /* Performs internal setup when an instance is created. */ | 322 /* Performs internal setup when an instance is created. */ |
324 void InstanceCreated([in] PP_Instance instance); | 323 void InstanceCreated([in] PP_Instance instance); |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 [in] PP_CompletionCallback callback); | 425 [in] PP_CompletionCallback callback); |
427 | 426 |
428 /* Reports the status of sel_ldr for UMA reporting. | 427 /* Reports the status of sel_ldr for UMA reporting. |
429 * |max_status| has to be provided because the implementation of this | 428 * |max_status| has to be provided because the implementation of this |
430 * interface can't access the NaClErrorCode enum. | 429 * interface can't access the NaClErrorCode enum. |
431 */ | 430 */ |
432 void ReportSelLdrStatus([in] PP_Instance instance, | 431 void ReportSelLdrStatus([in] PP_Instance instance, |
433 [in] int32_t load_status, | 432 [in] int32_t load_status, |
434 [in] int32_t max_status); | 433 [in] int32_t max_status); |
435 }; | 434 }; |
OLD | NEW |