 Chromium Code Reviews
 Chromium Code Reviews Issue 213433003:
  Add Sparse Histogram Support to metricsPrivate  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src
    
  
    Issue 213433003:
  Add Sparse Histogram Support to metricsPrivate  (Closed) 
  Base URL: svn://svn.chromium.org/chrome/trunk/src| 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.", |