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

Unified Diff: chrome/common/extensions/docs/templates/intros/tts.html

Issue 11745015: Update references to the extension messaging APIs to point to the "runtime" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 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: chrome/common/extensions/docs/templates/intros/tts.html
diff --git a/chrome/common/extensions/docs/templates/intros/tts.html b/chrome/common/extensions/docs/templates/intros/tts.html
index 1dfaca8aab12c346cde18f591bd1daa6df1bbbbf..a7387d6ad4a199183595adf873ee5dc83ef9c311 100644
--- a/chrome/common/extensions/docs/templates/intros/tts.html
+++ b/chrome/common/extensions/docs/templates/intros/tts.html
@@ -87,8 +87,8 @@ to see if there were any errors.</p>
utterance,
options,
function() {
- if (chrome.extension.lastError) {
- console.log('Error: ' + chrome.extension.lastError.message);
+ if (chrome.runtime.lastError) {
+ console.log('Error: ' + chrome.runtime.lastError.message);
}
});</pre>
@@ -202,4 +202,4 @@ argument:</p>
console.log(' extension id: ' + voices[i].extensionId);
console.log(' event types: ' + voices[i].eventTypes);
}
- });</pre>
+ });</pre>
« no previous file with comments | « chrome/common/extensions/docs/templates/intros/privacy.html ('k') | chrome/renderer/extensions/miscellaneous_bindings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698