Index: chrome/common/extensions/docs/examples/api/processes/process_monitor/popup.js |
diff --git a/chrome/common/extensions/docs/examples/api/processes/process_monitor/popup.js b/chrome/common/extensions/docs/examples/api/processes/process_monitor/popup.js |
index b0ee28817c00ca629769d6728091d0329880ea34..61f00d535e9121ca1faba60f63540fe5f94eaa1b 100644 |
--- a/chrome/common/extensions/docs/examples/api/processes/process_monitor/popup.js |
+++ b/chrome/common/extensions/docs/examples/api/processes/process_monitor/popup.js |
@@ -4,7 +4,7 @@ |
// Shows an updating list of process statistics. |
function init() { |
- chrome.experimental.processes.onUpdatedWithMemory.addListener( |
+ chrome.processes.onUpdatedWithMemory.addListener( |
function(processes) { |
var table = "<table>\n" + |
"<tr><td><b>Process</b></td>" + |
@@ -28,7 +28,7 @@ function init() { |
document.getElementById("killProcess").onclick = function () { |
var procId = parseInt(prompt("Enter process ID")); |
- chrome.experimental.processes.terminate(procId); |
+ chrome.processes.terminate(procId); |
} |
} |
@@ -77,4 +77,4 @@ function displayProcessInfo(process, table) { |
return table; |
} |
-document.addEventListener('DOMContentLoaded', init); |
+document.addEventListener('DOMContentLoaded', init); |