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

Unified Diff: chrome/browser/resources/sync_internals/about.html

Issue 210233005: sync: Display protocol events on about:sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
« no previous file with comments | « chrome/browser/resources/sync_internals/about.css ('k') | chrome/browser/resources/sync_internals/about.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/sync_internals/about.html
diff --git a/chrome/browser/resources/sync_internals/about.html b/chrome/browser/resources/sync_internals/about.html
index 766e1bcabd60edb5adb305dd6309c567147af8a4..17b5f3b94fd0cc766b7633d2e58e00cb67b1a60f 100644
--- a/chrome/browser/resources/sync_internals/about.html
+++ b/chrome/browser/resources/sync_internals/about.html
@@ -14,19 +14,30 @@
</div>
</div>
-<div id='aboutInfo'>
+<div id='about-info'>
<div class="section" jsselect="details">
<h2 jscontent="title"></h2>
- <table class="aboutDetails">
+ <table class="about-details">
<tr jsselect="data"
- jsvalues="class:$this.is_valid ? '' : 'uninitialized'"
- jseval='highlightIfChanged(this, this.children[1].innerText, stat_value)'>
+ jsvalues="class:$this.is_valid ? '' : 'uninitialized'">
<td class="detail" jscontent="stat_name" width=50%></td>
<td class="value" jscontent="stat_value" width=50%></td>
</tr>
</table>
</div>
+ <div id="traffic-event-container-wrapper" jsskip="true">
+ <h2>Sync Protocol Log</h2>
+ <div id="traffic-event-container">
+ <div class="traffic-event-entry" jsselect="events" jseval="chrome.sync.about_tab.addExpandListener(this)">
James Hawkins 2014/03/24 23:08:32 nit: 80 cols.
rlarocque 2014/03/24 23:34:19 I tried to fix it, but I'm not sure if there are a
+ <span class="time" jscontent="(new Date(time)).toLocaleString()"></span>
+ <span class="type" jscontent="type"></span>
+ <pre class="details" jscontent="details"></pre>
+ <pre class="proto" jscontent="JSON.stringify(proto, null, 2)"></pre>
+ </div>
+ </div>
+ </div>
+
<div class="section" style="overflow-x: auto">
<h2>Type Info</h2>
<table id="typeInfo">
« no previous file with comments | « chrome/browser/resources/sync_internals/about.css ('k') | chrome/browser/resources/sync_internals/about.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698