Chromium Code Reviews| 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..cd989c4e0b5a0429b5c3500d4dfe251740e5cfe3 100644 |
| --- a/chrome/browser/resources/gcm_internals.html |
| +++ b/chrome/browser/resources/gcm_internals.html |
| @@ -13,10 +13,16 @@ |
| </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"> |
| +<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> |
| + <tbody> |
| + <tr> |
| <td class="row-caption"> |
|
arv (Not doing code reviews)
2014/03/27 18:17:03
Instead of putting row-caption on all of these you
juyik
2014/03/27 18:40:11
Done.
|
| Android Id |
| </td> |
| @@ -30,7 +36,7 @@ |
| <td id="profile-service-created"> |
| </td> |
| </tr> |
| - <tr class="odd-number-row"> |
| + <tr> |
| <td class="row-caption"> |
| GCM Enabled State |
| </td> |
| @@ -44,7 +50,7 @@ |
| <td id="signed-in-username"> |
| </td> |
| </tr> |
| - <tr class="odd-number-row"> |
| + <tr> |
| <td class="row-caption"> |
| GCM Client Created |
| </td> |
| @@ -58,7 +64,7 @@ |
| <td id="gcm-client-state"> |
| </td> |
| </tr> |
| - <tr class="odd-number-row"> |
| + <tr> |
| <td class="row-caption"> |
| GCM Client Is Ready |
| </td> |
| @@ -72,15 +78,53 @@ |
| <td id="connection-client-created"> |
| </td> |
| </tr> |
| - <tr class="odd-number-row"> |
| + <tr> |
| <td class="row-caption"> |
| Connection State |
| </td> |
| <td id="connection-state"> |
| </td> |
| </tr> |
| - </table> |
| -</div> |
| + <tr> |
| + <td class="row-caption"> |
| + Registered App Ids |
| + </td> |
| + <td id="registered-app-ids"> |
| + </td> |
| + </tr> |
| + <tr> |
| + <td class="row-caption"> |
| + Send Message Queue Size |
| + </td> |
| + <td id="send-queue-size"> |
| + </td> |
| + </tr> |
| + <tr> |
| + <td class="row-caption"> |
| + Unacked Message Queue Size |
| + </td> |
| + <td id="unacked-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> |