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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "metricsPrivate", 7 "namespace": "metricsPrivate",
8 "description": "none", 8 "description": "none",
9 "types": [ 9 "types": [
10 { 10 {
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 { 141 {
142 "name": "recordLongTime", 142 "name": "recordLongTime",
143 "type": "function", 143 "type": "function",
144 "description": "Records an elapsed time of no more than 1 hour. The sam ple value is specified in milliseconds.", 144 "description": "Records an elapsed time of no more than 1 hour. The sam ple value is specified in milliseconds.",
145 "parameters": [ 145 "parameters": [
146 {"name": "metricName", "type": "string"}, 146 {"name": "metricName", "type": "string"},
147 {"name": "value", "type": "integer"} 147 {"name": "value", "type": "integer"}
148 ] 148 ]
149 }, 149 },
150 { 150 {
151 "name": "recordSparseValue",
152 "type": "function",
153 "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.
154 "parameters": [
155 {"name": "metricName", "type": "string"},
156 {"name": "value", "type": "integer"}
157 ]
158 },
159 {
151 "name": "recordValue", 160 "name": "recordValue",
152 "type": "function", 161 "type": "function",
153 "description": "Adds a value to the given metric.", 162 "description": "Adds a value to the given metric.",
154 "parameters": [ 163 "parameters": [
155 {"name": "metric", "$ref": "MetricType"}, 164 {"name": "metric", "$ref": "MetricType"},
156 {"name": "value", "type": "integer"} 165 {"name": "value", "type": "integer"}
157 ] 166 ]
158 } 167 }
159 ], 168 ],
160 "events": [] 169 "events": []
161 } 170 }
162 ] 171 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698