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> |