Chromium Code Reviews

Unified Diff: chrome/test/data/extensions/samples/benchmark/script.js

Issue 155675: Several changes to the benchmark extension:... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/test/data/extensions/samples/benchmark/script.js
===================================================================
--- chrome/test/data/extensions/samples/benchmark/script.js (revision 20745)
+++ chrome/test/data/extensions/samples/benchmark/script.js (working copy)
@@ -10,7 +10,8 @@
var benchmarkExtensionUrl = window.location.toString();
function sendTimesToExtension() {
- var times = window.chromium.GetLoadTimes();
+ var times = window.chrome.loadTimes();
+
if (times.finishLoadTime != 0) {
benchmarkExtensionPort.postMessage({message: "load", url: benchmarkExtensionUrl, values: times});
} else {

Powered by Google App Engine