summaryrefslogtreecommitdiffstats
path: root/ppapi/c
diff options
context:
space:
mode:
authorelijahtaylor@chromium.org <elijahtaylor@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-24 20:49:34 +0000
committerelijahtaylor@chromium.org <elijahtaylor@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-01-24 20:49:34 +0000
commit4564949f87f10dc504993080785fa1fbb60bb978 (patch)
tree18b622d0656fb4c7a2f7ecce39a596a0b43b80a7 /ppapi/c
parentcba826490cd939ae2f22363c5163517017c5a7d0 (diff)
downloadchromium_src-4564949f87f10dc504993080785fa1fbb60bb978.zip
chromium_src-4564949f87f10dc504993080785fa1fbb60bb978.tar.gz
chromium_src-4564949f87f10dc504993080785fa1fbb60bb978.tar.bz2
Proxy private UMA pepper interface for out-of-process and NaCl plugins.
BUG=317833 Review URL: https://codereview.chromium.org/61643022 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@246962 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c')
-rw-r--r--ppapi/c/private/ppb_uma_private.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/ppapi/c/private/ppb_uma_private.h b/ppapi/c/private/ppb_uma_private.h
index b681add..c23ba99 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;
/**
* @}
*/