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

Unified Diff: tools/page_cycler/webpagereplay/extension/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
« no previous file with comments | « tools/json_schema_compiler/test/tabs.json ('k') | tools/page_cycler/webpagereplay/extension/start.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/page_cycler/webpagereplay/extension/background.js
diff --git a/tools/page_cycler/webpagereplay/extension/background.js b/tools/page_cycler/webpagereplay/extension/background.js
index 207979e88605cfd3238f85721bf7e6794b8c0dd6..e03c230b86e3229ec2218456bc358109d8fb49a6 100644
--- a/tools/page_cycler/webpagereplay/extension/background.js
+++ b/tools/page_cycler/webpagereplay/extension/background.js
@@ -318,11 +318,11 @@ function Run() {
sessionLoader.run();
}
-chrome.extension.onConnect.addListener(function(port) {
+chrome.runtime.onConnect.addListener(function(port) {
port.onMessage.addListener(function(data) {
if (data.message == "start") {
window.benchmarkConfiguration = data.benchmark;
Run()
}
});
-});
+});
« no previous file with comments | « tools/json_schema_compiler/test/tabs.json ('k') | tools/page_cycler/webpagereplay/extension/start.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698