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

Side by Side Diff: chrome/common/extensions/api/metrics_private.json

Issue 16876004: Updating JSON Schema Compiler to add description field to schemas. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: (kalman) rebase Created 7 years, 6 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
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 "nodoc": true, 8 "description": "none",
9 "types": [ 9 "types": [
10 { 10 {
11 "id": "MetricType", 11 "id": "MetricType",
12 "type": "object", 12 "type": "object",
13 "description": "Describes the type of metric that is to be collected.", 13 "description": "Describes the type of metric that is to be collected.",
14 "properties": { 14 "properties": {
15 "metricName": {"type": "string", "description": "A unique name within the extension for the metric."}, 15 "metricName": {"type": "string", "description": "A unique name within the extension for the metric."},
16 "type": { 16 "type": {
17 "type": "string", 17 "type": "string",
18 "enum": ["histogram-log", "histogram-linear"], 18 "enum": ["histogram-log", "histogram-linear"],
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 "description": "Adds a value to the given metric.", 117 "description": "Adds a value to the given metric.",
118 "parameters": [ 118 "parameters": [
119 {"name": "metric", "$ref": "MetricType"}, 119 {"name": "metric", "$ref": "MetricType"},
120 {"name": "value", "type": "integer"} 120 {"name": "value", "type": "integer"}
121 ] 121 ]
122 } 122 }
123 ], 123 ],
124 "events": [] 124 "events": []
125 } 125 }
126 ] 126 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/media_player_private.json ('k') | chrome/common/extensions/api/music_manager_private.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698