diff options
Diffstat (limited to 'chrome/browser/resources/net_internals/main.js')
-rw-r--r-- | chrome/browser/resources/net_internals/main.js | 36 |
1 files changed, 1 insertions, 35 deletions
diff --git a/chrome/browser/resources/net_internals/main.js b/chrome/browser/resources/net_internals/main.js index be5fc33..50102c6 100644 --- a/chrome/browser/resources/net_internals/main.js +++ b/chrome/browser/resources/net_internals/main.js @@ -89,6 +89,7 @@ function onLoaded() { "socketPoolDiv", "socketPoolGroupsDiv"); + var serviceView; if (g_browser.isPlatformWindows()) { serviceView = new ServiceProvidersView("serviceProvidersTab", @@ -97,13 +98,6 @@ function onLoaded() { "namespaceProvidersTbody"); } - var extensionsView; - if (g_browser.isPlatformMac()) { - extensionsView = new KernelExtensionsView("kernelExtensionsTab", - "kernelExtensionsTabContent", - "kernelExtensionsText"); - } - // Create a view which lets you tab between the different sub-views. var categoryTabSwitcher = new TabSwitcherView(new DivView('categoryTabHandles')); @@ -117,8 +111,6 @@ function onLoaded() { categoryTabSwitcher.addTab('dataTab', dataView, false); if (g_browser.isPlatformWindows()) categoryTabSwitcher.addTab('serviceProvidersTab', serviceView, false); - if (g_browser.isPlatformMac()) - categoryTabSwitcher.addTab('kernelExtensionsTab', extensionsView, false); categoryTabSwitcher.addTab('testTab', testView, false); // Build a map from the anchor name of each tab handle to its "tab ID". @@ -179,10 +171,6 @@ function BrowserBridge() { this.pollableDataHelpers_.serviceProviders = new PollableDataHelper('onServiceProvidersChanged', this.sendGetServiceProviders.bind(this)); - } else if (this.isPlatformMac()) { - this.pollableDataHelpers_.kernelExtensions = - new PollableDataHelper('onKernelExtensionsChanged', - this.sendGetKernelExtensions.bind(this)); } // Cache of the data received. @@ -248,10 +236,6 @@ BrowserBridge.prototype.isPlatformWindows = function() { return /Win/.test(navigator.platform); }; -BrowserBridge.prototype.isPlatformMac = function() { - return /Mac/.test(navigator.platform); -}; - BrowserBridge.prototype.sendGetProxySettings = function() { // The browser will call receivedProxySettings on completion. chrome.send('getProxySettings'); @@ -295,10 +279,6 @@ BrowserBridge.prototype.sendGetServiceProviders = function() { chrome.send('getServiceProviders'); }; -BrowserBridge.prototype.sendGetKernelExtensions = function() { - chrome.send('getKernelExtensions'); -}; - BrowserBridge.prototype.enableIPv6 = function() { chrome.send('enableIPv6'); }; @@ -378,10 +358,6 @@ BrowserBridge.prototype.receivedServiceProviders = function(serviceProviders) { this.pollableDataHelpers_.serviceProviders.update(serviceProviders); }; -BrowserBridge.prototype.receivedKernelExtensions = function(kernelExtensions) { - this.pollableDataHelpers_.kernelExtensions.update(kernelExtensions); -}; - BrowserBridge.prototype.receivedPassiveLogEntries = function(entries) { this.numPassivelyCapturedEvents_ += entries.length; for (var i = 0; i < entries.length; ++i) { @@ -509,16 +485,6 @@ BrowserBridge.prototype.addServiceProvidersObserver = function(observer) { }; /** - * Adds a listener of the kernel extensions. |observer| will be called - * back when data is received, through: - * - * observer.onKernelExtensionsChanged(kernelExtensions) - */ -BrowserBridge.prototype.addKernelExtensionsObserver = function(observer) { - this.pollableDataHelpers_.kernelExtensions.addObserver(observer); -}; - -/** * Adds a listener for the progress of the connection tests. * The observer will be called back with: * |