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

Unified Diff: chrome/common/extensions/docs/examples/extensions/plugin_settings/js/main.js

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/examples/extensions/plugin_settings/js/main.js
diff --git a/chrome/common/extensions/docs/examples/extensions/plugin_settings/js/main.js b/chrome/common/extensions/docs/examples/extensions/plugin_settings/js/main.js
index 89aeca66d527b03db1eed440fee6902c1fb22a82..d86c9f5f2fcd4376a87991943440c830de9ea8c6 100644
--- a/chrome/common/extensions/docs/examples/extensions/plugin_settings/js/main.js
+++ b/chrome/common/extensions/docs/examples/extensions/plugin_settings/js/main.js
@@ -9,9 +9,9 @@
document.addEventListener('DOMContentLoaded', function() {
chrome.contentSettings.plugins.getResourceIdentifiers(function(r) {
- if (chrome.extension.lastError) {
+ if (chrome.runtime.lastError) {
$('error').textContent =
- 'Error: ' + chrome.extension.lastError.message;
+ 'Error: ' + chrome.runtime.lastError.message;
return;
}
var pluginList = $('plugin-list');

Powered by Google App Engine
This is Rietveld 408576698