summaryrefslogtreecommitdiffstats
path: root/tools/json_schema_compiler
diff options
context:
space:
mode:
authorkalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-08 15:10:31 +0000
committerkalman@chromium.org <kalman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-08 15:10:31 +0000
commit754ea8b7d01365edefd3a06a293879739011679e (patch)
treeca5e51130ebfc51785248f7b7009d4d3ea46fe28 /tools/json_schema_compiler
parent978a0d53f38c292a21843d3902d25b90c00bd376 (diff)
downloadchromium_src-754ea8b7d01365edefd3a06a293879739011679e.zip
chromium_src-754ea8b7d01365edefd3a06a293879739011679e.tar.gz
chromium_src-754ea8b7d01365edefd3a06a293879739011679e.tar.bz2
Update references to the extension messaging APIs and lastError to point to
the "runtime" namespace rather than "extension" in docs and samples. R=asargent@chromium.org TBR=dgozman@chromium.org Review URL: https://codereview.chromium.org/11745015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175527 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/json_schema_compiler')
-rw-r--r--tools/json_schema_compiler/test/permissions.json4
-rw-r--r--tools/json_schema_compiler/test/tabs.json4
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/json_schema_compiler/test/permissions.json b/tools/json_schema_compiler/test/permissions.json
index 377a43f..1f4cb9f 100644
--- a/tools/json_schema_compiler/test/permissions.json
+++ b/tools/json_schema_compiler/test/permissions.json
@@ -91,7 +91,7 @@
{
"name": "request",
"type": "function",
- "description": "Requests access to the specified permissions. These permissions must be defined in the optional_permissions field of the manifest. If there are any problems requesting the permissions, <a href='extension.html#property-lastError'>chrome.extension.lastError</a> will be set.",
+ "description": "Requests access to the specified permissions. These permissions must be defined in the optional_permissions field of the manifest. If there are any problems requesting the permissions, <a href='extension.html#property-lastError'>chrome.runtime.lastError</a> will be set.",
"parameters": [
{
"name": "permissions",
@@ -114,7 +114,7 @@
{
"name": "remove",
"type": "function",
- "description": "Removes access to the specified permissions. If there are any problems removing the permissions, <a href='extension.html#property-lastError'>chrome.extension.lastError</a> will be set.",
+ "description": "Removes access to the specified permissions. If there are any problems removing the permissions, <a href='extension.html#property-lastError'>chrome.runtime.lastError</a> will be set.",
"parameters": [
{
"name": "permissions",
diff --git a/tools/json_schema_compiler/test/tabs.json b/tools/json_schema_compiler/test/tabs.json
index 1069eb6..af0910a 100644
--- a/tools/json_schema_compiler/test/tabs.json
+++ b/tools/json_schema_compiler/test/tabs.json
@@ -63,7 +63,7 @@
"name": "connect",
"nocompile": true,
"type": "function",
- "description": "Connects to the content script(s) in the specified tab. The <a href='extension.html#event-onConnect'>chrome.extension.onConnect</a> event is fired in each content script running in the specified tab for the current extension. For more details, see <a href='content_scripts.html#messaging'>Content Script Messaging</a>.",
+ "description": "Connects to the content script(s) in the specified tab. The <a href='extension.html#event-onConnect'>chrome.runtime.onConnect</a> event is fired in each content script running in the specified tab for the current extension. For more details, see <a href='content_scripts.html#messaging'>Content Script Messaging</a>.",
"parameters": [
{
"type": "integer",
@@ -107,7 +107,7 @@
{
"name": "response",
"type": "any",
- "description": "The JSON response object sent by the handler of the request. If an error occurs while connecting to the specified tab, the callback will be called with no arguments and <a href='extension.html#property-lastError'>chrome.extension.lastError</a> will be set to the error message."
+ "description": "The JSON response object sent by the handler of the request. If an error occurs while connecting to the specified tab, the callback will be called with no arguments and <a href='extension.html#property-lastError'>chrome.runtime.lastError</a> will be set to the error message."
}
]
}