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