| OLD | NEW |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 1 [ | 5 [ |
| 2 { | 6 { |
| 3 "namespace": "metricsPrivate", | 7 "namespace": "metricsPrivate", |
| 4 "nodoc": true, | 8 "nodoc": true, |
| 5 "types": [ | 9 "types": [ |
| 6 { | 10 { |
| 7 "id": "MetricType", | 11 "id": "MetricType", |
| 8 "type": "object", | 12 "type": "object", |
| 9 "description": "Describes the type of metric that is to be collected.", | 13 "description": "Describes the type of metric that is to be collected.", |
| 10 "properties": { | 14 "properties": { |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 "description": "Adds a value to the given metric.", | 102 "description": "Adds a value to the given metric.", |
| 99 "parameters": [ | 103 "parameters": [ |
| 100 {"name": "metric", "$ref": "MetricType"}, | 104 {"name": "metric", "$ref": "MetricType"}, |
| 101 {"name": "value", "type": "integer"} | 105 {"name": "value", "type": "integer"} |
| 102 ] | 106 ] |
| 103 } | 107 } |
| 104 ], | 108 ], |
| 105 "events": [] | 109 "events": [] |
| 106 } | 110 } |
| 107 ] | 111 ] |
| OLD | NEW |