summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-23 16:51:45 +0000
committerdmazzoni@chromium.org <dmazzoni@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-23 16:51:45 +0000
commitc1efa9a08a096e81943a0ec8b13c0304a95f85cc (patch)
treee58e3881e49f5994cb7b0fce95b9145d6c875a3f
parenteec3cf5304607744079ac095a362abeff2dd9abf (diff)
downloadchromium_src-c1efa9a08a096e81943a0ec8b13c0304a95f85cc.zip
chromium_src-c1efa9a08a096e81943a0ec8b13c0304a95f85cc.tar.gz
chromium_src-c1efa9a08a096e81943a0ec8b13c0304a95f85cc.tar.bz2
Fix error in extension docs: chrome.extension.connectExternal should just
be chrome.extension.connect. BUG=none TEST=none Review URL: http://codereview.chromium.org/3322011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60299 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/common/extensions/docs/messaging.html2
-rw-r--r--chrome/common/extensions/docs/static/messaging.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/extensions/docs/messaging.html b/chrome/common/extensions/docs/messaging.html
index a16b0d6..6cc3bd7 100644
--- a/chrome/common/extensions/docs/messaging.html
+++ b/chrome/common/extensions/docs/messaging.html
@@ -529,7 +529,7 @@ chrome.extension.sendRequest(laserExtensionId, {getTargetData: true},
});
// Start a long-running conversation:
-var port = chrome.extension.connectExternal(laserExtensionId);
+var port = chrome.extension.connect(laserExtensionId);
port.postMessage(...);
</pre>
diff --git a/chrome/common/extensions/docs/static/messaging.html b/chrome/common/extensions/docs/static/messaging.html
index d725dc4..8d9cd3f 100644
--- a/chrome/common/extensions/docs/static/messaging.html
+++ b/chrome/common/extensions/docs/static/messaging.html
@@ -218,7 +218,7 @@ chrome.extension.sendRequest(laserExtensionId, {getTargetData: true},
});
// Start a long-running conversation:
-var port = chrome.extension.connectExternal(laserExtensionId);
+var port = chrome.extension.connect(laserExtensionId);
port.postMessage(...);
</pre>