Chromium Code Reviews| 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 "types": [ | 9 "types": [ |
| 10 { | 10 { |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 62 "type": "function", | 62 "type": "function", |
| 63 "parameters": [ | 63 "parameters": [ |
| 64 {"name": "name", "type": "string"}, | 64 {"name": "name", "type": "string"}, |
| 65 { | 65 { |
| 66 "name": "callback", | 66 "name": "callback", |
| 67 "type": "function", | 67 "type": "function", |
| 68 "optional": false, | 68 "optional": false, |
| 69 "parameters": [ | 69 "parameters": [ |
| 70 { | 70 { |
| 71 "name": "params", | 71 "name": "params", |
| 72 "optional": true, | |
|
not at google - send to devlin
2014/05/07 15:04:04
this now just matches the comment
| |
| 72 "type": "object", | 73 "type": "object", |
| 73 "additionalProperties": { "type": "string" } | 74 "additionalProperties": { "type": "string" } |
| 74 } | 75 } |
| 75 ] | 76 ] |
| 76 } | 77 } |
| 77 ] | 78 ] |
| 78 }, | 79 }, |
| 79 { | 80 { |
| 80 "name": "recordUserAction", | 81 "name": "recordUserAction", |
| 81 "type": "function", | 82 "type": "function", |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 162 "description": "Adds a value to the given metric.", | 163 "description": "Adds a value to the given metric.", |
| 163 "parameters": [ | 164 "parameters": [ |
| 164 {"name": "metric", "$ref": "MetricType"}, | 165 {"name": "metric", "$ref": "MetricType"}, |
| 165 {"name": "value", "type": "integer"} | 166 {"name": "value", "type": "integer"} |
| 166 ] | 167 ] |
| 167 } | 168 } |
| 168 ], | 169 ], |
| 169 "events": [] | 170 "events": [] |
| 170 } | 171 } |
| 171 ] | 172 ] |
| OLD | NEW |