Pepper_47_C_interfaces
Public Attributes | List of all members
PPB_UMA_Private_0_3 Struct Reference

#include <ppb_uma_private.h>

Collaboration diagram for PPB_UMA_Private_0_3:
Collaboration graph

Public Attributes

void(* HistogramCustomTimes )(PP_Instance instance, struct PP_Var name, int64_t sample, int64_t min, int64_t max, uint32_t bucket_count)
 
void(* HistogramCustomCounts )(PP_Instance instance, struct PP_Var name, int32_t sample, int32_t min, int32_t max, uint32_t bucket_count)
 
void(* HistogramEnumeration )(PP_Instance instance, struct PP_Var name, int32_t sample, int32_t boundary_value)
 
int32_t(* IsCrashReportingEnabled )(PP_Instance instance, struct PP_CompletionCallback callback)
 

Detailed Description

Contains functions for plugins to report UMA usage stats.

Definition at line 34 of file ppb_uma_private.h.

Member Data Documentation

void(* PPB_UMA_Private_0_3::HistogramCustomCounts)(PP_Instance instance, struct PP_Var name, int32_t sample, int32_t min, int32_t max, uint32_t bucket_count)

HistogramCustomCounts is a pointer to a function which records a sample in the histogram given by |name|, possibly creating the histogram if it does not exist.

Definition at line 51 of file ppb_uma_private.h.

void(* PPB_UMA_Private_0_3::HistogramCustomTimes)(PP_Instance instance, struct PP_Var name, int64_t sample, int64_t min, int64_t max, uint32_t bucket_count)

HistogramCustomTimes is a pointer to a function which records a time sample given in milliseconds in the histogram given by |name|, possibly creating the histogram if it does not exist.

Definition at line 40 of file ppb_uma_private.h.

void(* PPB_UMA_Private_0_3::HistogramEnumeration)(PP_Instance instance, struct PP_Var name, int32_t sample, int32_t boundary_value)

HistogramEnumeration is a pointer to a function which records a sample in the histogram given by |name|, possibly creating the histogram if it does not exist. The sample represents a value in an enumeration bounded by |boundary_value|, that is, sample < boundary_value always.

Definition at line 63 of file ppb_uma_private.h.

int32_t(* PPB_UMA_Private_0_3::IsCrashReportingEnabled)(PP_Instance instance, struct PP_CompletionCallback callback)

IsCrashReportingEnabled returns PP_OK to the completion callback to indicate that the current user has opted-in to crash reporting, or PP_ERROR_* on failure or when a user has not opted-in. This can be used to gate other reporting processes such as analytics and crash reporting.

Definition at line 73 of file ppb_uma_private.h.


The documentation for this struct was generated from the following file: