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

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

Issue 1825913002: [Extensions] Convert APIs to use movable types [7] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Steven's Created 4 years, 8 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 "description": "none", 8 "description": "none",
9 "compiler_options": {"use_movable_types": true},
9 "types": [ 10 "types": [
10 { 11 {
11 "id": "MetricTypeType", 12 "id": "MetricTypeType",
12 "type": "string", 13 "type": "string",
13 "enum": ["histogram-log", "histogram-linear"], 14 "enum": ["histogram-log", "histogram-linear"],
14 "description": "The type of metric, such as 'histogram-log' or 'histogra m-linear'." 15 "description": "The type of metric, such as 'histogram-log' or 'histogra m-linear'."
15 }, 16 },
16 { 17 {
17 "id": "MetricType", 18 "id": "MetricType",
18 "type": "object", 19 "type": "object",
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 "description": "Adds a value to the given metric.", 168 "description": "Adds a value to the given metric.",
168 "parameters": [ 169 "parameters": [
169 {"name": "metric", "$ref": "MetricType"}, 170 {"name": "metric", "$ref": "MetricType"},
170 {"name": "value", "type": "integer"} 171 {"name": "value", "type": "integer"}
171 ] 172 ]
172 } 173 }
173 ], 174 ],
174 "events": [] 175 "events": []
175 } 176 }
176 ] 177 ]
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