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..2cbfca5292a276a8787e272ab4ae734e5aa56243 |
--- /dev/null |
+++ b/chrome/browser/resources/net_internals/sdch_view.html |
@@ -0,0 +1,73 @@ |
+<div id=sdch-view-tab-content class=content-box> |
+ <ul style="margin-top:0"> |
+ <li>SDCH Enabled: |
+ <span jscontent="!!sdch_enabled" id=sdch-view-sdch-enabled></span> |
+ </li> |
+ <li>Secure Scheme Support Enabled: |
+ <span jscontent="!!secure_scheme_support" |
+ id=sdch-view-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> |
+ </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 id=sdch-view-dictionaries-body> |
+ <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 id=sdch-view-blacklist-body> |
+ <tr jsselect="blacklisted"> |
+ <td jscontent="domain"></td> |
+ <td jscontent="sdchProblemCodeToString(reason)"></td> |
+ <td jscontent="tries"></td> |
+ </tr> |
+ </tbody> |
+ </table> |
+</div> |