Index: chrome/browser/resources/gcm_internals.html |
diff --git a/chrome/browser/resources/gcm_internals.html b/chrome/browser/resources/gcm_internals.html |
index 775a9228b19d4d01cad1397f70bb1b6a8f369e63..50a508f21ca6f33a329327a3dd5e591de51829ff 100644 |
--- a/chrome/browser/resources/gcm_internals.html |
+++ b/chrome/browser/resources/gcm_internals.html |
@@ -13,74 +13,118 @@ |
</head> |
<body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> |
<h1>GCM Internals</h1> |
-<div> |
- <h2>Device Info</h2> |
- <table> |
- <tr class="odd-number-row"> |
- <td class="row-caption"> |
+<div class="flexbar"> |
+ <button id="refresh">Refresh</button> |
+ <button id="recording">Start Recording</button> |
+ <button id="clear-logs">Clear All Logs</button> |
+</div> |
+ |
+<h2>Device Info</h2> |
+<table id="device-info"> |
+ <tbody> |
+ <tr> |
+ <td> |
Android Id |
</td> |
<td id="android-id"> |
</td> |
</tr> |
<tr> |
- <td class="row-caption"> |
+ <td> |
User Profile Service Created |
</td> |
<td id="profile-service-created"> |
</td> |
</tr> |
- <tr class="odd-number-row"> |
- <td class="row-caption"> |
+ <tr> |
+ <td> |
GCM Enabled State |
</td> |
<td id="gcm-enabled-state"> |
</td> |
</tr> |
<tr> |
- <td class="row-caption"> |
+ <td> |
Signed In Username |
</td> |
<td id="signed-in-username"> |
</td> |
</tr> |
- <tr class="odd-number-row"> |
- <td class="row-caption"> |
+ <tr> |
+ <td> |
GCM Client Created |
</td> |
<td id="gcm-client-created"> |
</td> |
</tr> |
<tr> |
- <td class="row-caption"> |
+ <td> |
GCM Client State |
</td> |
<td id="gcm-client-state"> |
</td> |
</tr> |
- <tr class="odd-number-row"> |
- <td class="row-caption"> |
+ <tr> |
+ <td> |
GCM Client Is Ready |
</td> |
<td id="gcm-client-ready"> |
</td> |
</tr> |
<tr> |
- <td class="row-caption"> |
+ <td> |
Connection Client Created |
</td> |
<td id="connection-client-created"> |
</td> |
</tr> |
- <tr class="odd-number-row"> |
- <td class="row-caption"> |
+ <tr> |
+ <td> |
Connection State |
</td> |
<td id="connection-state"> |
</td> |
</tr> |
- </table> |
-</div> |
+ <tr> |
+ <td> |
+ Registered App Ids |
+ </td> |
+ <td id="registered-app-ids"> |
+ </td> |
+ </tr> |
+ <tr> |
+ <td> |
+ Send Message Queue Size |
+ </td> |
+ <td id="send-queue-size"> |
+ </td> |
+ </tr> |
+ <tr> |
+ <td> |
+ Resend Message Queue Size |
+ </td> |
+ <td id="resend-queue-size"> |
+ </td> |
+ </tr> |
+ </tbody> |
+</table> |
+ |
+<h2>Send Message Log</h2> |
+<table class="log-table"> |
+ <thead> |
+ <tr> |
+ <th>Time</th> |
+ <th>App Id</th> |
+ <th>Receiver Id</th> |
+ <th>Msg Id</th> |
+ <th>Event</th> |
+ <th>Details</th> |
+ </tr> |
+ </thead> |
+ <tbody id="send-info"> |
+ </tbody> |
+</table> |
+ |
<script src="chrome://resources/js/i18n_template2.js"></script> |
</body> |
</html> |