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

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: Review fixes. Lots. Created 6 years, 3 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..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>

Powered by Google App Engine
This is Rietveld 408576698