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

Side by Side Diff: chrome/common/extensions/api/experimental_rlz.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": "experimental.rlz", 7 "namespace": "experimental.rlz",
8 "nodoc": true, 8 "description": "none",
9 "types": [],
10 "functions": [ 9 "functions": [
11 { 10 {
12 "name": "recordProductEvent", 11 "name": "recordProductEvent",
13 "type": "function", 12 "type": "function",
14 "description": "Records an RLZ event for a given product's access point. ", 13 "description": "Records an RLZ event for a given product's access point. ",
15 "parameters": [ 14 "parameters": [
16 {"name": "product", "type": "string", "minLength": 1, "maxLength": 1}, 15 {"name": "product", "type": "string", "minLength": 1, "maxLength": 1},
17 {"name": "accessPoint", "type": "string", "minLength": 1, "maxLength": 2}, 16 {"name": "accessPoint", "type": "string", "minLength": 1, "maxLength": 2},
18 {"name": "event", "type": "string", "enum": ["install", "set-to-google ", "first-search", "activate"]} 17 {"name": "event", "type": "string", "enum": ["install", "set-to-google ", "first-search", "activate"]}
19 ] 18 ]
(...skipping 28 matching lines...) Expand all
48 "description": "Clears all product-specific RLZ state from the machine, as well as clearing all events for the specified access points.", 47 "description": "Clears all product-specific RLZ state from the machine, as well as clearing all events for the specified access points.",
49 "parameters": [ 48 "parameters": [
50 {"name": "product", "type": "string", "minLength": 1, "maxLength": 1}, 49 {"name": "product", "type": "string", "minLength": 1, "maxLength": 1},
51 {"name": "accessPoints", "type": "array", "items": {"type": "string", "minLength": 1, "maxLength": 2}, "minItems": 1} 50 {"name": "accessPoints", "type": "array", "items": {"type": "string", "minLength": 1, "maxLength": 2}, "minItems": 1}
52 ] 51 ]
53 } 52 }
54 ], 53 ],
55 "events": [] 54 "events": []
56 } 55 }
57 ] 56 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698