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

Unified Diff: chrome/browser/resources/net_internals/sdch_view.html

Issue 423813002: Sdch view for net-internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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: chrome/browser/resources/net_internals/sdch_view.html
diff --git a/chrome/browser/resources/net_internals/sdch_view.html b/chrome/browser/resources/net_internals/sdch_view.html
new file mode 100644
index 0000000000000000000000000000000000000000..9285bdad16ca1f518e7abaedaaf801c64e078987
--- /dev/null
+++ b/chrome/browser/resources/net_internals/sdch_view.html
@@ -0,0 +1,82 @@
+<div id=sdch-view-tab-content class=content-box>
+ <ul style='margin-top:0'>
+ <li>SDCH Enabled: <span jscontent="!!sdch_enabled"></span></li>
+ <li>Secure Scheme Support Enabled: <span jscontent="!!secure_scheme_support"></span></li>
+ </ul>
+
+ <h4>
+ Dictionaries loaded: <span jscontent="dictionaries.length"></span>
+ </h4>
+ <table class="styled-table">
+ <thead>
+ <tr>
+ <th>Domain</th>
+ <th>Path</th>
+ <th>Ports</th>
+ <th>Server Hash</th>
+ <th>Client Hash</th>
+ <th>Url</th>
+ <th>Expiration</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr jsselect="dictionaries">
+ <td jscontent="domain"></td>
+ <td jscontent="path"></td>
+ <td jscontent="$this.ports ? $this.ports.join(', ') : ''"></td>
+ <td jscontent="server_hash"></td>
+ <td jscontent="client_hash"></td>
+ <td jscontent="url"></td>
+ <td jscontent="timeutil.dateToString(timeutil.convertTimeTicksToDate(expiration)"></td>
+ </tr>
+ </tbody>
+ </table>
+
+ <h4>Blacklisted domains</h4>
+ <table class="styled-table">
+ <thead>
+ <tr>
+ <th>Domain</th>
+ <th>Tries to back off</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr jsselect="blacklisted">
Randy Smith (Not in Mondays) 2014/07/28 19:52:43 You might want to be aware of https://codereview.c
+ <td jscontent="domain"></td>
+ <td jscontent="tries"></td>
+ </tr>
+ </tbody>
+ </table>
+
+ <h4>Dictionary load errors</h4>
+ <table class="styled-table">
+ <thead>
+ <tr>
+ <th>URL</th>
+ <th>Error number</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr jsselect="dict_errors">
+ <td jscontent="url"></td>
+ <td jscontent="error"></td>
Randy Smith (Not in Mondays) 2014/07/28 19:52:42 The errors are currently shown in the view by numb
+ </tr>
+ </tbody>
+ </table>
+
+ <h4>SDCH usage errors</h4>
+ <table class="styled-table">
+ <thead>
+ <tr>
+ <th>URL</th>
+ <th>Error number</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr jsselect="usage_errors">
+ <td jscontent="url"></td>
+ <td jscontent="error"></td>
+ </tr>
+ </tbody>
+ </table>
+</div>

Powered by Google App Engine
This is Rietveld 408576698