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

Unified Diff: netlog_viewer/sockets_view.js

Issue 2178423002: Bring the gh-pages branch up to date with the master branch (Closed) Base URL: https://github.com/catapult-project/catapult.git@gh-pages
Patch Set: Created 4 years, 5 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
« no previous file with comments | « netlog_viewer/sockets_view.html ('k') | netlog_viewer/spdy_view.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: netlog_viewer/sockets_view.js
diff --git a/netlog_viewer/sockets_view.js b/netlog_viewer/sockets_view.js
index 9b12cb3376662ebc572426575554c197a15a6d52..d6ef1936b4284d9449a037bc064be278453b87e0 100644
--- a/netlog_viewer/sockets_view.js
+++ b/netlog_viewer/sockets_view.js
@@ -27,12 +27,6 @@ var SocketsView = (function() {
g_browser.addSocketPoolInfoObserver(this, true);
this.socketPoolDiv_ = $(SocketsView.SOCKET_POOL_DIV_ID);
this.socketPoolGroupsDiv_ = $(SocketsView.SOCKET_POOL_GROUPS_DIV_ID);
-
- var closeIdleButton = $(SocketsView.CLOSE_IDLE_SOCKETS_BUTTON_ID);
- closeIdleButton.onclick = this.closeIdleSockets.bind(this);
-
- var flushSocketsButton = $(SocketsView.SOCKET_POOL_FLUSH_BUTTON_ID);
- flushSocketsButton.onclick = this.flushSocketPools.bind(this);
}
SocketsView.TAB_ID = 'tab-handle-sockets';
@@ -43,8 +37,6 @@ var SocketsView = (function() {
SocketsView.MAIN_BOX_ID = 'sockets-view-tab-content';
SocketsView.SOCKET_POOL_DIV_ID = 'sockets-view-pool-div';
SocketsView.SOCKET_POOL_GROUPS_DIV_ID = 'sockets-view-pool-groups-div';
- SocketsView.CLOSE_IDLE_SOCKETS_BUTTON_ID = 'sockets-view-close-idle-button';
- SocketsView.SOCKET_POOL_FLUSH_BUTTON_ID = 'sockets-view-flush-button';
cr.addSingletonGetter(SocketsView);
@@ -77,16 +69,6 @@ var SocketsView = (function() {
}
}
return true;
- },
-
- closeIdleSockets: function() {
- g_browser.sendCloseIdleSockets();
- g_browser.checkForUpdatedInfo(false);
- },
-
- flushSocketPools: function() {
- g_browser.sendFlushSocketPools();
- g_browser.checkForUpdatedInfo(false);
}
};
« no previous file with comments | « netlog_viewer/sockets_view.html ('k') | netlog_viewer/spdy_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698