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..24811e51abb59c65c85e1e39531bb2fa88f8a4ed |
--- /dev/null |
+++ b/chrome/browser/resources/net_internals/sdch_view.html |
@@ -0,0 +1,68 @@ |
+<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> |
+ |
+ <p>SDCH Errors: |
+ <a href="#events&q=type:URL_REQUEST%20SDCH_DECODING_ERROR" |
+ style="padding-right:2em">Decoding</a> |
+ <a href="#events&q=type:URL_REQUEST%20SDCH_DICTIONARY_ERROR">Dictionary</a> |
mmenke
2014/10/02 21:53:56
Would it be more user friendly to just have on lin
|
+ </p> |
+ |
+ <p> |
+ <a href="#events&q=type:URL_REQUEST%20SDCH_DICTIONARY_FETCH"> |
+ SDCH Dictionary Fetches |
+ </a> |
+ </p> |
+ |
+ <p> |
+ <a href="#events&q=type:URL_REQUEST%20Avail-Dictionary"> |
+ SDCH Requests |
+ </a> |
+ </p> |
+ |
+ <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> |
+ </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> |
+ </tr> |
+ </tbody> |
+ </table> |
+ |
+ <h4>Blacklisted domains</h4> |
+ <table class="styled-table"> |
+ <thead> |
+ <tr> |
+ <th>Domain</th> |
+ <th>Reason</th> |
+ <th>Tries to back off</th> |
+ </tr> |
+ </thead> |
+ <tbody> |
+ <tr jsselect="blacklisted"> |
+ <td jscontent="domain"></td> |
+ <td jscontent="sdchProblemCodeToString(reason)"></td> |
+ <td jscontent="tries"></td> |
+ </tr> |
+ </tbody> |
+ </table> |
+</div> |