Chromium Code Reviews| Index: components/gcm_driver/resources/gcm_internals.html |
| diff --git a/components/gcm_driver/resources/gcm_internals.html b/components/gcm_driver/resources/gcm_internals.html |
| index 78d8b9ce61f5eb401c4f6c5360f3ad69b4d3f876..e2ffa896c824af60da5200df04b3e556b4fce12e 100644 |
| --- a/components/gcm_driver/resources/gcm_internals.html |
| +++ b/components/gcm_driver/resources/gcm_internals.html |
| @@ -3,6 +3,9 @@ |
| <head> |
| <meta charset="utf-8"> |
| <title>GCM Internals</title> |
| + <if expr="is_android"> |
| + <meta name="viewport" content="width=device-width"> |
| + </if> |
| <link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> |
| <link rel="stylesheet" href="gcm_internals.css"> |
| @@ -29,20 +32,22 @@ |
| <h2>Device Info</h2> |
| <table id="device-info"> |
| <tbody> |
| - <tr> |
| - <td> |
| - Android Id |
| - </td> |
| - <td id="android-id"> |
| - </td> |
| - </tr> |
| - <tr> |
| - <td> |
| - User Profile Service Created |
| - </td> |
| - <td id="profile-service-created"> |
| - </td> |
| - </tr> |
| + <if expr="not is_android"> |
| + <tr> |
| + <td> |
| + Android Id |
| + </td> |
| + <td id="android-id"> |
| + </td> |
| + </tr> |
| + <tr> |
| + <td> |
| + User Profile Service Created |
| + </td> |
| + <td id="profile-service-created"> |
| + </td> |
| + </tr> |
| + </if> |
| <tr> |
| <td> |
| GCM Enabled |
| @@ -50,83 +55,87 @@ |
| <td id="gcm-enabled"> |
| </td> |
| </tr> |
| - <tr> |
| - <td> |
| - GCM Client Created |
| - </td> |
| - <td id="gcm-client-created"> |
| - </td> |
| - </tr> |
| - <tr> |
| - <td> |
| - GCM Client State |
| - </td> |
| - <td id="gcm-client-state"> |
| - </td> |
| - </tr> |
| - <tr> |
| - <td> |
| - Connection Client Created |
| - </td> |
| - <td id="connection-client-created"> |
| - </td> |
| - </tr> |
| - <tr> |
| - <td> |
| - Connection State |
| - </td> |
| - <td id="connection-state"> |
| - </td> |
| - </tr> |
| - <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> |
| + <if expr="not is_android"> |
| + <tr> |
| + <td> |
| + GCM Client Created |
| + </td> |
| + <td id="gcm-client-created"> |
| + </td> |
| + </tr> |
| + <tr> |
| + <td> |
| + GCM Client State |
| + </td> |
| + <td id="gcm-client-state"> |
| + </td> |
| + </tr> |
| + <tr> |
| + <td> |
| + Connection Client Created |
| + </td> |
| + <td id="connection-client-created"> |
| + </td> |
| + </tr> |
| + <tr> |
| + <td> |
| + Connection State |
| + </td> |
| + <td id="connection-state"> |
| + </td> |
| + </tr> |
| + <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> |
| + </if> |
| </tbody> |
| </table> |
| -<h2>Check-in Log</h2> |
| -<table class="log-table"> |
| - <thead> |
| - <tr> |
| - <th>Time</th> |
| - <th>Event</th> |
| - <th>Details</th> |
| - </tr> |
| - </thead> |
| - <tbody id="checkin-info"> |
| - </tbody> |
| -</table> |
| +<if expr="not is_android"> |
| + <h2>Check-in Log</h2> |
| + <table class="log-table"> |
| + <thead> |
| + <tr> |
| + <th>Time</th> |
| + <th>Event</th> |
| + <th>Details</th> |
| + </tr> |
| + </thead> |
| + <tbody id="checkin-info"> |
| + </tbody> |
| + </table> |
| -<h2>Connection Log</h2> |
| -<table class="log-table"> |
| - <thead> |
| - <tr> |
| - <th>Time</th> |
| - <th>Event</th> |
| - <th>Details</th> |
| - </tr> |
| - </thead> |
| - <tbody id="connection-info"> |
| - </tbody> |
| -</table> |
| + <h2>Connection Log</h2> |
| + <table class="log-table"> |
| + <thead> |
| + <tr> |
| + <th>Time</th> |
| + <th>Event</th> |
| + <th>Details</th> |
| + </tr> |
| + </thead> |
| + <tbody id="connection-info"> |
| + </tbody> |
| + </table> |
| +</if> |
| <h2>Registration Log</h2> |
| <table class="log-table"> |
| @@ -159,21 +168,23 @@ |
| </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> |
| +<if expr="not is_android"> |
|
Nicolas Zea
2015/12/16 22:24:32
Should we be recording sent messages for Android t
Peter Beverloo
2015/12/17 17:08:24
We don't support sending messages on Android yet.
|
| + <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> |
| +</if> |
| <script src="chrome://resources/js/i18n_template.js"></script> |
| </body> |