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

Unified Diff: ppapi/api/private/ppb_uma_private.idl

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/api/private/ppb_uma_private.idl
diff --git a/ppapi/api/private/ppb_uma_private.idl b/ppapi/api/private/ppb_uma_private.idl
index cdb39080fa2e8629ae06b438d555956cd8d0934d..a115ceeb176027e8bb8057a0c32a7cc146e3f9d1 100644
--- a/ppapi/api/private/ppb_uma_private.idl
+++ b/ppapi/api/private/ppb_uma_private.idl
@@ -6,8 +6,11 @@
/**
* This file defines the <code>PPB_UMA_Private</code> interface.
*/
+
+[generate_thunk,thunk_include="ppapi/thunk/ppb_uma_singleton_api.h"]
+
label Chrome {
- M18 = 0.1
+ M33 = 0.2
};
/**
@@ -19,7 +22,9 @@ interface PPB_UMA_Private {
* sample given in milliseconds in the histogram given by |name|, possibly
* creating the histogram if it does not exist.
*/
- void HistogramCustomTimes([in] PP_Var name,
+ [singleton,api=PPB_UMA_Singleton_API]
+ void HistogramCustomTimes([in] PP_Instance instance,
+ [in] PP_Var name,
[in] int64_t sample,
[in] int64_t min,
[in] int64_t max,
@@ -30,7 +35,9 @@ interface PPB_UMA_Private {
* in the histogram given by |name|, possibly creating the histogram if it
* does not exist.
*/
- void HistogramCustomCounts([in] PP_Var name,
+ [singleton,api=PPB_UMA_Singleton_API]
+ void HistogramCustomCounts([in] PP_Instance instance,
+ [in] PP_Var name,
[in] int32_t sample,
[in] int32_t min,
[in] int32_t max,
@@ -42,7 +49,9 @@ interface PPB_UMA_Private {
* does not exist. The sample represents a value in an enumeration bounded
* by |boundary_value|, that is, sample < boundary_value always.
*/
- void HistogramEnumeration([in] PP_Var name,
+ [singleton,api=PPB_UMA_Singleton_API]
+ void HistogramEnumeration([in] PP_Instance instance,
+ [in] PP_Var name,
[in] int32_t sample,
[in] int32_t boundary_value);
};

Powered by Google App Engine
This is Rietveld 408576698