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

Unified Diff: chrome/common/extensions/docs/examples/extensions/benchmark/script.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: Created 7 years, 12 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/common/extensions/docs/examples/extensions/benchmark/script.js
diff --git a/chrome/common/extensions/docs/examples/extensions/benchmark/script.js b/chrome/common/extensions/docs/examples/extensions/benchmark/script.js
index b35213eb6af81814a67fa5455f89f952f2260feb..b069c6d6d03ec627fb2ff5bea8f40b800e6d5ce8 100644
--- a/chrome/common/extensions/docs/examples/extensions/benchmark/script.js
+++ b/chrome/common/extensions/docs/examples/extensions/benchmark/script.js
@@ -1,5 +1,5 @@
// The port for communicating back to the extension.
-var benchmarkExtensionPort = chrome.extension.connect();
+var benchmarkExtensionPort = chrome.runtime.connect();
// The url is what this page is known to the benchmark as.
// The benchmark uses this id to differentiate the benchmark's

Powered by Google App Engine
This is Rietveld 408576698