| OLD | NEW |
| 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 "compiler_options": {"use_movable_types": true}, | |
| 10 "types": [ | 9 "types": [ |
| 11 { | 10 { |
| 12 "id": "MetricTypeType", | 11 "id": "MetricTypeType", |
| 13 "type": "string", | 12 "type": "string", |
| 14 "enum": ["histogram-log", "histogram-linear"], | 13 "enum": ["histogram-log", "histogram-linear"], |
| 15 "description": "The type of metric, such as 'histogram-log' or 'histogra
m-linear'." | 14 "description": "The type of metric, such as 'histogram-log' or 'histogra
m-linear'." |
| 16 }, | 15 }, |
| 17 { | 16 { |
| 18 "id": "MetricType", | 17 "id": "MetricType", |
| 19 "type": "object", | 18 "type": "object", |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 "description": "Adds a value to the given metric.", | 167 "description": "Adds a value to the given metric.", |
| 169 "parameters": [ | 168 "parameters": [ |
| 170 {"name": "metric", "$ref": "MetricType"}, | 169 {"name": "metric", "$ref": "MetricType"}, |
| 171 {"name": "value", "type": "integer"} | 170 {"name": "value", "type": "integer"} |
| 172 ] | 171 ] |
| 173 } | 172 } |
| 174 ], | 173 ], |
| 175 "events": [] | 174 "events": [] |
| 176 } | 175 } |
| 177 ] | 176 ] |
| OLD | NEW |