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

Unified Diff: chrome/common/extensions/api/metrics_private.json

Issue 213433003: Add Sparse Histogram Support to metricsPrivate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR Feedback Created 6 years, 9 months 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: chrome/common/extensions/api/metrics_private.json
diff --git a/chrome/common/extensions/api/metrics_private.json b/chrome/common/extensions/api/metrics_private.json
index d1ee679780c6f663b1b7b4b1019637febeedf596..c720217a3b227fd6327cdcfa706f3fb9cc4f7f93 100644
--- a/chrome/common/extensions/api/metrics_private.json
+++ b/chrome/common/extensions/api/metrics_private.json
@@ -148,6 +148,15 @@
]
},
{
+ "name": "recordSparseValue",
+ "type": "function",
+ "description": "Increments the count associated with |value| in the sparse histogram defined by the |metricName|",
Ilya Sherman 2014/03/26 22:44:14 nit: Please end the sentence with a period.
robliao 2014/03/26 23:37:54 Done.
+ "parameters": [
+ {"name": "metricName", "type": "string"},
+ {"name": "value", "type": "integer"}
+ ]
+ },
+ {
"name": "recordValue",
"type": "function",
"description": "Adds a value to the given metric.",

Powered by Google App Engine
This is Rietveld 408576698