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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 [out] PP_NaClFileInfo file_info, | 428 [out] PP_NaClFileInfo file_info, |
429 [in] PP_CompletionCallback callback); | 429 [in] PP_CompletionCallback callback); |
430 | 430 |
431 /* Reports the status of sel_ldr for UMA reporting. | 431 /* Reports the status of sel_ldr for UMA reporting. |
432 * |max_status| has to be provided because the implementation of this | 432 * |max_status| has to be provided because the implementation of this |
433 * interface can't access the NaClErrorCode enum. | 433 * interface can't access the NaClErrorCode enum. |
434 */ | 434 */ |
435 void ReportSelLdrStatus([in] PP_Instance instance, | 435 void ReportSelLdrStatus([in] PP_Instance instance, |
436 [in] int32_t load_status, | 436 [in] int32_t load_status, |
437 [in] int32_t max_status); | 437 [in] int32_t max_status); |
| 438 |
| 439 /* Logs time taken by an operation to UMA histograms. |
| 440 * This function is safe to call on any thread. |
| 441 */ |
| 442 void LogTranslateTime([in] str_t histogram_name, |
| 443 [in] int64_t time_us); |
438 }; | 444 }; |
OLD | NEW |