commit | 754ea8b7d01365edefd3a06a293879739011679e | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Jan 08 15:10:31 2013 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Tue Jan 08 15:10:31 2013 |
tree | ca5e51130ebfc51785248f7b7009d4d3ea46fe28 | |
parent | 978a0d53f38c292a21843d3902d25b90c00bd376 [diff] [blame] |
Update references to the extension messaging APIs and lastError to point to the "runtime" namespace rather than "extension" in docs and samples. [email protected] [email protected] Review URL: https://codereview.chromium.org/11745015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175527 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/renderer/extensions/miscellaneous_bindings.cc b/chrome/renderer/extensions/miscellaneous_bindings.cc index 18a6c2ca..deb9c45 100644 --- a/chrome/renderer/extensions/miscellaneous_bindings.cc +++ b/chrome/renderer/extensions/miscellaneous_bindings.cc
@@ -26,7 +26,7 @@ // Message passing API example (in a content script): // var extension = // new chrome.Extension('00123456789abcdef0123456789abcdef0123456'); -// var port = extension.connect(); +// var port = runtime.connect(); // port.postMessage('Can you hear me now?'); // port.onmessage.addListener(function(msg, port) { // alert('response=' + msg);