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

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

Issue 266353009: Don't log error from metricsPrivate API when GetVariationParams fails to find a (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make test pass Created 6 years, 7 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 | Annotate | Revision Log
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 "types": [ 9 "types": [
10 { 10 {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698