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

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

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

Powered by Google App Engine
This is Rietveld 408576698