Index: ppapi/c/private/ppb_uma_private.h |
diff --git a/ppapi/c/private/ppb_uma_private.h b/ppapi/c/private/ppb_uma_private.h |
index b681addef66970c1eaadcde68022bb88a1e161ae..c23ba99830614acb4a36d910c430e5e5ab711a32 100644 |
--- a/ppapi/c/private/ppb_uma_private.h |
+++ b/ppapi/c/private/ppb_uma_private.h |
@@ -3,18 +3,19 @@ |
* found in the LICENSE file. |
*/ |
-/* From private/ppb_uma_private.idl modified Tue Oct 2 13:17:06 2012. */ |
+/* From private/ppb_uma_private.idl modified Mon Nov 18 14:39:43 2013. */ |
#ifndef PPAPI_C_PRIVATE_PPB_UMA_PRIVATE_H_ |
#define PPAPI_C_PRIVATE_PPB_UMA_PRIVATE_H_ |
#include "ppapi/c/pp_bool.h" |
+#include "ppapi/c/pp_instance.h" |
#include "ppapi/c/pp_macros.h" |
#include "ppapi/c/pp_stdint.h" |
#include "ppapi/c/pp_var.h" |
-#define PPB_UMA_PRIVATE_INTERFACE_0_1 "PPB_UMA_Private;0.1" |
-#define PPB_UMA_PRIVATE_INTERFACE PPB_UMA_PRIVATE_INTERFACE_0_1 |
+#define PPB_UMA_PRIVATE_INTERFACE_0_2 "PPB_UMA_Private;0.2" |
+#define PPB_UMA_PRIVATE_INTERFACE PPB_UMA_PRIVATE_INTERFACE_0_2 |
/** |
* @file |
@@ -29,13 +30,14 @@ |
/** |
* Contains functions for plugins to report UMA usage stats. |
*/ |
-struct PPB_UMA_Private_0_1 { |
+struct PPB_UMA_Private_0_2 { |
/** |
* 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. |
*/ |
- void (*HistogramCustomTimes)(struct PP_Var name, |
+ void (*HistogramCustomTimes)(PP_Instance instance, |
+ struct PP_Var name, |
int64_t sample, |
int64_t min, |
int64_t max, |
@@ -45,7 +47,8 @@ struct PPB_UMA_Private_0_1 { |
* in the histogram given by |name|, possibly creating the histogram if it |
* does not exist. |
*/ |
- void (*HistogramCustomCounts)(struct PP_Var name, |
+ void (*HistogramCustomCounts)(PP_Instance instance, |
+ struct PP_Var name, |
int32_t sample, |
int32_t min, |
int32_t max, |
@@ -56,12 +59,13 @@ struct PPB_UMA_Private_0_1 { |
* does not exist. The sample represents a value in an enumeration bounded |
* by |boundary_value|, that is, sample < boundary_value always. |
*/ |
- void (*HistogramEnumeration)(struct PP_Var name, |
+ void (*HistogramEnumeration)(PP_Instance instance, |
+ struct PP_Var name, |
int32_t sample, |
int32_t boundary_value); |
}; |
-typedef struct PPB_UMA_Private_0_1 PPB_UMA_Private; |
+typedef struct PPB_UMA_Private_0_2 PPB_UMA_Private; |
/** |
* @} |
*/ |