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

Unified Diff: chrome/test/data/extensions/api_test/filebrowser_component/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/test/data/extensions/api_test/filebrowser_component/main.js
diff --git a/chrome/test/data/extensions/api_test/filebrowser_component/main.js b/chrome/test/data/extensions/api_test/filebrowser_component/main.js
index 8d7cfc104ee7d17feb0a5db9fbe6668cec3b071e..140a6cb2803426ee543056d7994503de54013c43 100644
--- a/chrome/test/data/extensions/api_test/filebrowser_component/main.js
+++ b/chrome/test/data/extensions/api_test/filebrowser_component/main.js
@@ -78,7 +78,7 @@ var TestRunner = function(expectations) {
TestRunner.prototype.runTest = function() {
// Get local FS, create dir with a file in it.
console.log('Requesting local file system...');
- chrome.extension.onMessageExternal.addListener(this.listener_);
+ chrome.runtime.onMessageExternal.addListener(this.listener_);
chrome.fileBrowserPrivate.requestLocalFileSystem(
this.onFileSystemFetched_.bind(this));
};
@@ -191,7 +191,7 @@ TestRunner.prototype.onHandlerRequest_ =
this.expectations_.verifyHandlerRequest(
request,
this.verifyRequestCallback_.bind(this, sendResponse));
- chrome.extension.onMessageExternal.removeListener(this.listener_);
+ chrome.runtime.onMessageExternal.removeListener(this.listener_);
};
TestRunner.prototype.verifyRequestCallback_ = function(sendResponse, error) {

Powered by Google App Engine
This is Rietveld 408576698