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

Unified Diff: chrome/test/data/extensions/browsertest/title_localized_pa/background.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/browsertest/title_localized_pa/background.js
diff --git a/chrome/test/data/extensions/browsertest/title_localized_pa/background.js b/chrome/test/data/extensions/browsertest/title_localized_pa/background.js
index 37fae35db6dda5288eabc7f2391fef82e48341fd..257d3e0bd08f194d07b7cbd922dc62358f880482 100644
--- a/chrome/test/data/extensions/browsertest/title_localized_pa/background.js
+++ b/chrome/test/data/extensions/browsertest/title_localized_pa/background.js
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-chrome.extension.onConnect.addListener(function(port) {
+chrome.runtime.onConnect.addListener(function(port) {
port.onMessage.addListener(function(mybool) {
// Let Chrome know that the PageAction needs to be enabled for this tabId
// and for the url of this page.

Powered by Google App Engine
This is Rietveld 408576698