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

Unified Diff: netlog_viewer/sockets_view.html

Issue 2162963002: [polymer] Merge of master into polymer10-migration (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Sync to head 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
Index: netlog_viewer/sockets_view.html
diff --git a/netlog_viewer/sockets_view.html b/netlog_viewer/sockets_view.html
new file mode 100644
index 0000000000000000000000000000000000000000..8f3d33d2d8b3d75ee9f77b596a1c3e080cc9110a
--- /dev/null
+++ b/netlog_viewer/sockets_view.html
@@ -0,0 +1,29 @@
+<style>
+#sockets-view-close-idle-button,
+#sockets-view-flush-button {
+ margin-bottom: 2px;
+}
+</style>
+
+<div id=sockets-view-tab-content class=content-box>
+ <ul style='margin-top:0'>
+ <li class="hide-when-not-capturing">
+ <input type=button value="Close idle sockets" id=sockets-view-close-idle-button>
+ </li>
+ <li class="hide-when-not-capturing">
+ <input type=button value="Flush socket pools" id=sockets-view-flush-button>
+ <span class=warning-text>May break pages with active connections</span>
+ </li>
+ <li><a href='#events&q=type:SOCKET%20is:active'>View live sockets</a>
+ </li>
+ </ul>
+ <p>
+ <div id=sockets-view-pool-div>
+ </div>
+ </p>
+ <p>
+ <div id=sockets-view-pool-groups-div>
+ </div>
+ </p>
+</div>
+

Powered by Google App Engine
This is Rietveld 408576698