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

Unified Diff: chrome/browser/resources/net_internals/main.js

Issue 6840022: net-internals: Add buttons to close idle and flush all sockets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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/browser/resources/net_internals/main.js
===================================================================
--- chrome/browser/resources/net_internals/main.js (revision 81416)
+++ chrome/browser/resources/net_internals/main.js (working copy)
@@ -99,7 +99,9 @@
var socketsView = new SocketsView('socketsTabContent',
'socketPoolDiv',
- 'socketPoolGroupsDiv');
+ 'socketPoolGroupsDiv',
+ 'socketPoolCloseIdleButton',
+ 'socketPoolFlushButton');
var spdyView = new SpdyView('spdyTabContent',
'spdyEnabledSpan',
@@ -340,6 +342,14 @@
chrome.send('getSocketPoolInfo');
};
+BrowserBridge.prototype.sendCloseIdleSockets = function() {
+ chrome.send('closeIdleSockets');
+};
+
+BrowserBridge.prototype.sendFlushSocketPools = function() {
+ chrome.send('flushSocketPools');
+};
+
BrowserBridge.prototype.sendGetSpdySessionInfo = function() {
chrome.send('getSpdySessionInfo');
};
« no previous file with comments | « chrome/browser/resources/net_internals/index.html ('k') | chrome/browser/resources/net_internals/socketsview.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698