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

Unified Diff: third_party/chrome/idl/experimental_rlz.json

Issue 12261015: Import chrome idl into third_party (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/chrome/idl/experimental_rlz.json
diff --git a/third_party/chrome/idl/experimental_rlz.json b/third_party/chrome/idl/experimental_rlz.json
new file mode 100644
index 0000000000000000000000000000000000000000..b954a4ec95b543a112460ff9485bb5ddacf03f24
--- /dev/null
+++ b/third_party/chrome/idl/experimental_rlz.json
@@ -0,0 +1,57 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+[
+ {
+ "namespace": "experimental.rlz",
+ "nodoc": true,
+ "types": [],
+ "functions": [
+ {
+ "name": "recordProductEvent",
+ "type": "function",
+ "description": "Records an RLZ event for a given product's access point.",
+ "parameters": [
+ {"name": "product", "type": "string", "minLength": 1, "maxLength": 1},
+ {"name": "accessPoint", "type": "string", "minLength": 1, "maxLength": 2},
+ {"name": "event", "type": "string", "enum": ["install", "set-to-google", "first-search", "activate"]}
+ ]
+ },
+ {
+ "name": "getAccessPointRlz",
+ "type": "function",
+ "description": "Gets the RLZ string to be used when accessing a Google property through the given access point.",
+ "parameters": [
+ {"name": "accessPoint", "type": "string", "minLength": 1, "maxLength": 2},
+ {"name": "callback", "type": "function", "parameters": [{"name": "rlz", "type": "string"}]}
+ ]
+ },
+ {
+ "name": "sendFinancialPing",
+ "type": "function",
+ "description": "Sends Google promotional information about this extension.",
+ "parameters": [
+ {"name": "product", "type": "string", "minLength": 1, "maxLength": 1},
+ {"name": "accessPoints", "type": "array", "items": {"type": "string", "minLength": 1, "maxLength": 2}, "minItems": 1},
+ {"name": "signature", "type": "string"},
+ {"name": "brand", "type": "string"},
+ {"name": "id", "type": "string"},
+ {"name": "lang", "type": "string"},
+ {"name": "exclude_machine_id", "type": "boolean"},
+ {"name": "callback", "type": "function", "optional": true, "parameters": [{"name": "sent", "type": "boolean"}]}
+ ]
+ },
+ {
+ "name": "clearProductState",
+ "type": "function",
+ "description": "Clears all product-specific RLZ state from the machine, as well as clearing all events for the specified access points.",
+ "parameters": [
+ {"name": "product", "type": "string", "minLength": 1, "maxLength": 1},
+ {"name": "accessPoints", "type": "array", "items": {"type": "string", "minLength": 1, "maxLength": 2}, "minItems": 1}
+ ]
+ }
+ ],
+ "events": []
+ }
+]
« no previous file with comments | « third_party/chrome/idl/experimental_record.json ('k') | third_party/chrome/idl/experimental_speech_input.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698