| 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 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 279 */ | 279 */ |
| 280 void DispatchEvent([in] PP_Instance instance, | 280 void DispatchEvent([in] PP_Instance instance, |
| 281 [in] PP_NaClEventType event_type, | 281 [in] PP_NaClEventType event_type, |
| 282 [in] str_t resource_url, | 282 [in] str_t resource_url, |
| 283 [in] PP_Bool length_is_computable, | 283 [in] PP_Bool length_is_computable, |
| 284 [in] uint64_t loaded_bytes, | 284 [in] uint64_t loaded_bytes, |
| 285 [in] uint64_t total_bytes); | 285 [in] uint64_t total_bytes); |
| 286 | 286 |
| 287 /* Report that the nexe loaded successfully. */ | 287 /* Report that the nexe loaded successfully. */ |
| 288 void ReportLoadSuccess([in] PP_Instance instance, | 288 void ReportLoadSuccess([in] PP_Instance instance, |
| 289 [in] str_t url, | |
| 290 [in] uint64_t loaded_bytes, | 289 [in] uint64_t loaded_bytes, |
| 291 [in] uint64_t total_bytes); | 290 [in] uint64_t total_bytes); |
| 292 | 291 |
| 293 /* Report an error that occured while attempting to load a nexe. */ | 292 /* Report an error that occured while attempting to load a nexe. */ |
| 294 void ReportLoadError([in] PP_Instance instance, | 293 void ReportLoadError([in] PP_Instance instance, |
| 295 [in] PP_NaClError error, | 294 [in] PP_NaClError error, |
| 296 [in] str_t error_message); | 295 [in] str_t error_message); |
| 297 | 296 |
| 298 /* Reports that loading a nexe was aborted. */ | 297 /* Reports that loading a nexe was aborted. */ |
| 299 void ReportLoadAbort([in] PP_Instance instance); | 298 void ReportLoadAbort([in] PP_Instance instance); |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 [in] PP_Bool is_helper_process, | 416 [in] PP_Bool is_helper_process, |
| 418 [in] str_t key, | 417 [in] str_t key, |
| 419 [out] PP_NaClFileInfo file_info, | 418 [out] PP_NaClFileInfo file_info, |
| 420 [in] PP_CompletionCallback callback); | 419 [in] PP_CompletionCallback callback); |
| 421 | 420 |
| 422 /* Sets the start time for PNaCl downloading and translation to the current | 421 /* Sets the start time for PNaCl downloading and translation to the current |
| 423 * time. | 422 * time. |
| 424 */ | 423 */ |
| 425 void SetPNaClStartTime([in] PP_Instance instance); | 424 void SetPNaClStartTime([in] PP_Instance instance); |
| 426 }; | 425 }; |
| OLD | NEW |