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

Unified Diff: ppapi/c/private/ppb_uma_private.h

Issue 61643022: Proxy private UMA pepper interface for out-of-process and NaCl plugins. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove errant file, fix comment typo Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
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;
/**
* @}
*/

Powered by Google App Engine
This is Rietveld 408576698