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

Side by Side Diff: ppapi/api/private/ppb_nacl_private.idl

Issue 331973002: Pepper: Move more UMA stuff out of trusted plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « components/nacl/renderer/ppb_nacl_private_impl.cc ('k') | ppapi/c/private/ppb_nacl_private.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 off the main thread.
dmichael (off chromium) 2014/06/13 21:10:35 "off the main thread"->"on any thread" ? Might be
441 */
442 void LogTranslateTime([in] str_t histogram_name,
443 [in] int64_t time_us);
438 }; 444 };
OLDNEW
« no previous file with comments | « components/nacl/renderer/ppb_nacl_private_impl.cc ('k') | ppapi/c/private/ppb_nacl_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698