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

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: Fix Typo 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..a2d6b5677192459592d80333f7a693a7b05c716c 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": "Adds a value to the given sparse metric.",
Ilya Sherman 2014/03/26 22:02:03 nit: "metric" -> "histogram". I'd actually rephra
robliao 2014/03/26 22:30:50 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