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": "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 Loading... |
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 ] |
OLD | NEW |