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

Unified Diff: chrome/test/data/extensions/api_test/filesystem_handler_write/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_write/tab.js
diff --git a/chrome/test/data/extensions/api_test/filesystem_handler_write/tab.js b/chrome/test/data/extensions/api_test/filesystem_handler_write/tab.js
index 14b72ee99a142e6847c1608e2cc4c088004342cb..725600eaf8a75cf03135ccf01b23d38bd9a7a115 100644
--- a/chrome/test/data/extensions/api_test/filesystem_handler_write/tab.js
+++ b/chrome/test/data/extensions/api_test/filesystem_handler_write/tab.js
@@ -43,14 +43,14 @@ function errorCallback(error) {
};
}
- chrome.extension.sendMessage(fileBrowserExtensionId,
+ chrome.runtime.sendMessage(fileBrowserExtensionId,
{fileContent: null,
error: {message: "File handler error: " + msg}},
function(response) {});
};
function onSuccess(text) {
- chrome.extension.sendMessage(
+ chrome.runtime.sendMessage(
fileBrowserExtensionId,
{fileContent: text, error: null},
function(response) {});
@@ -71,7 +71,7 @@ function writeToFile(entry, text) {
function runFileSystemHandlerTest(entries) {
if (!entries || entries.length != 1 || !entries[0]) {
- chrome.extension.sendMessage(
+ chrome.runtime.sendMessage(
fileBrowserExtensionId,
{fileContent: null, error: 'Invalid file entries.'},
function(response) {});

Powered by Google App Engine
This is Rietveld 408576698