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

Unified Diff: chrome/common/extensions/docs/examples/api/processes/show_tabs/popup.js

Issue 22584002: Move processes API to dev channel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased again Created 7 years, 4 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/api/processes/show_tabs/popup.js
diff --git a/chrome/common/extensions/docs/examples/api/processes/show_tabs/popup.js b/chrome/common/extensions/docs/examples/api/processes/show_tabs/popup.js
index 76917a19c59b83d0d3e286e02b2092fabc06ae6c..429d2267aa1595b2fb2667fe68c479f97fcfd9c3 100644
--- a/chrome/common/extensions/docs/examples/api/processes/show_tabs/popup.js
+++ b/chrome/common/extensions/docs/examples/api/processes/show_tabs/popup.js
@@ -9,7 +9,7 @@ function init() {
var current = currentWindow.tabs.filter(function(tab) {
return tab.active;
})[0];
- chrome.experimental.processes.getProcessIdForTab(current.id,
+ chrome.processes.getProcessIdForTab(current.id,
function(pid) {
var outputDiv = document.getElementById("tab-list");
var titleDiv = document.getElementById("title");
@@ -38,7 +38,7 @@ function displaySameProcessTabs(selectedTab, processId, outputDiv) {
// Display tab in list if it is in the same process
tabs.forEach(function(tab) {
- chrome.experimental.processes.getProcessIdForTab(tab.id,
+ chrome.processes.getProcessIdForTab(tab.id,
function(pid) {
if (pid == processId) {
displayTabInfo(tab.windowId, tab, outputDiv);

Powered by Google App Engine
This is Rietveld 408576698