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

Unified Diff: chrome/test/data/extensions/api_test/filebrowser_component/remote.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/filebrowser_component/remote.js
diff --git a/chrome/test/data/extensions/api_test/filebrowser_component/remote.js b/chrome/test/data/extensions/api_test/filebrowser_component/remote.js
index 920716384cbce5c17bcaa63c4c7d8c2ff1d1bfe8..f203315713d2f9150ec6e819613337fd0bb2355b 100644
--- a/chrome/test/data/extensions/api_test/filebrowser_component/remote.js
+++ b/chrome/test/data/extensions/api_test/filebrowser_component/remote.js
@@ -116,7 +116,7 @@ TestRunner.prototype.runExecuteReadTask = function() {
// Add listener to be invoked when filesystem handler extension sends us
// response.
this.listener_ = this.onHandlerRequest_.bind(this);
- chrome.extension.onMessageExternal.addListener(this.listener_);
+ chrome.runtime.onMessageExternal.addListener(this.listener_);
var self = this;
var fileURL = this.fileEntry_.toURL();
@@ -185,7 +185,7 @@ TestRunner.prototype.runCancelTest = function(fileName, type) {
TestRunner.prototype.onHandlerRequest_ =
function(request, sender, sendResponse) {
// We don't have to listen for a response anymore.
- chrome.extension.onMessageExternal.removeListener(this.listener_);
+ chrome.runtime.onMessageExternal.removeListener(this.listener_);
this.verifyHandlerRequest(request,
chrome.test.succeed,

Powered by Google App Engine
This is Rietveld 408576698