summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/api
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/api')
-rw-r--r--chrome/common/extensions/api/_api_features.json4
-rw-r--r--chrome/common/extensions/api/experimental_rlz.json56
-rw-r--r--chrome/common/extensions/api/extension_api.cc2
3 files changed, 0 insertions, 62 deletions
diff --git a/chrome/common/extensions/api/_api_features.json b/chrome/common/extensions/api/_api_features.json
index 1b87c65..afe3be2 100644
--- a/chrome/common/extensions/api/_api_features.json
+++ b/chrome/common/extensions/api/_api_features.json
@@ -209,10 +209,6 @@
"dependencies": ["permission:experimental"],
"contexts": ["blessed_extension"]
},
- "experimental.rlz": {
- "dependencies": ["permission:experimental"],
- "contexts": ["blessed_extension"]
- },
"extension": {
"channel": "stable",
"extension_types": ["extension", "legacy_packaged_app"],
diff --git a/chrome/common/extensions/api/experimental_rlz.json b/chrome/common/extensions/api/experimental_rlz.json
deleted file mode 100644
index f97f925e..0000000
--- a/chrome/common/extensions/api/experimental_rlz.json
+++ /dev/null
@@ -1,56 +0,0 @@
-// 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",
- "description": "none",
- "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": []
- }
-]
diff --git a/chrome/common/extensions/api/extension_api.cc b/chrome/common/extensions/api/extension_api.cc
index 9b734d3..ca3ffeb 100644
--- a/chrome/common/extensions/api/extension_api.cc
+++ b/chrome/common/extensions/api/extension_api.cc
@@ -241,8 +241,6 @@ void ExtensionAPI::InitDefaultConfiguration() {
IDR_EXTENSION_API_JSON_DECLARATIVE_CONTENT);
RegisterSchemaResource("declarativeWebRequest",
IDR_EXTENSION_API_JSON_DECLARATIVE_WEBREQUEST);
- RegisterSchemaResource("experimental.rlz",
- IDR_EXTENSION_API_JSON_EXPERIMENTAL_RLZ);
RegisterSchemaResource("runtime", IDR_EXTENSION_API_JSON_RUNTIME);
RegisterSchemaResource("fileBrowserHandler",
IDR_EXTENSION_API_JSON_FILEBROWSERHANDLER);