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

Unified Diff: chrome/test/data/extensions/api_test/filesystem_handler_lazy_background/tab.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/test/data/extensions/api_test/filesystem_handler_lazy_background/tab.js
diff --git a/chrome/test/data/extensions/api_test/filesystem_handler_lazy_background/tab.js b/chrome/test/data/extensions/api_test/filesystem_handler_lazy_background/tab.js
index 95f96774c2628181266a8ff7c066d36a58f94eda..56972e78f42a7ee565af58c4ba67566440d9ff2a 100644
--- a/chrome/test/data/extensions/api_test/filesystem_handler_lazy_background/tab.js
+++ b/chrome/test/data/extensions/api_test/filesystem_handler_lazy_background/tab.js
@@ -32,7 +32,7 @@ function errorCallback(error) {
};
}
- chrome.extension.sendMessage(fileBrowserExtensionId,
+ chrome.runtime.sendMessage(fileBrowserExtensionId,
{fileContent: null,
error: {message: "File handler error: " + msg}},
function(response) {});
@@ -42,7 +42,7 @@ function onGotEntryByUrl(entry) {
var reader = new FileReader();
reader.onloadend = function(e) {
// Send data back to the file browser extension
- chrome.extension.sendMessage(
+ chrome.runtime.sendMessage(
fileBrowserExtensionId,
{fileContent: reader.result, error: null},
function(response) {});

Powered by Google App Engine
This is Rietveld 408576698