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

Side by Side Diff: chrome/common/extensions/api/experimental.rlz.json

Issue 10272021: Files generated by the JSON schema compiler are named incorrectly (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Minor changes Created 8 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 [
6 {
7 "namespace": "experimental.rlz",
8 "nodoc": true,
9 "types": [],
10 "functions": [
11 {
12 "name": "recordProductEvent",
13 "type": "function",
14 "description": "Records an RLZ event for a given product's access point. ",
15 "parameters": [
16 {"name": "product", "type": "string", "minLength": 1, "maxLength": 1},
17 {"name": "accessPoint", "type": "string", "minLength": 1, "maxLength": 2},
18 {"name": "event", "type": "string", "enum": ["install", "set-to-google ", "first-search", "activate"]}
19 ]
20 },
21 {
22 "name": "getAccessPointRlz",
23 "type": "function",
24 "description": "Gets the RLZ string to be used when accessing a Google p roperty through the given access point.",
25 "parameters": [
26 {"name": "accessPoint", "type": "string", "minLength": 1, "maxLength": 2},
27 {"name": "callback", "type": "function", "parameters": [{"name": "rlz" , "type": "string"}]}
28 ]
29 },
30 {
31 "name": "sendFinancialPing",
32 "type": "function",
33 "description": "Sends Google promotional information about this extensio n.",
34 "parameters": [
35 {"name": "product", "type": "string", "minLength": 1, "maxLength": 1},
36 {"name": "accessPoints", "type": "array", "items": {"type": "string", "minLength": 1, "maxLength": 2}, "minItems": 1},
37 {"name": "signature", "type": "string"},
38 {"name": "brand", "type": "string"},
39 {"name": "id", "type": "string"},
40 {"name": "lang", "type": "string"},
41 {"name": "exclude_machine_id", "type": "boolean"},
42 {"name": "callback", "type": "function", "optional": true, "parameters ": [{"name": "sent", "type": "boolean"}]}
43 ]
44 },
45 {
46 "name": "clearProductState",
47 "type": "function",
48 "description": "Clears all product-specific RLZ state from the machine, as well as clearing all events for the specified access points.",
49 "parameters": [
50 {"name": "product", "type": "string", "minLength": 1, "maxLength": 1},
51 {"name": "accessPoints", "type": "array", "items": {"type": "string", "minLength": 1, "maxLength": 2}, "minItems": 1}
52 ]
53 }
54 ],
55 "events": []
56 }
57 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/experimental.record.json ('k') | chrome/common/extensions/api/experimental.runtime.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698