| OLD | NEW |
| 1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
| 2 <html i18n-values="dir:textdirection"> | 2 <html i18n-values="dir:textdirection"> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <title>GCM Internals</title> | 5 <title>GCM Internals</title> |
| 6 <link rel="stylesheet" href="gcm_internals.css"> | 6 <link rel="stylesheet" href="gcm_internals.css"> |
| 7 <script src="chrome://resources/js/cr.js"></script> | 7 <script src="chrome://resources/js/cr.js"></script> |
| 8 <script src="chrome://resources/js/load_time_data.js"></script> | 8 <script src="chrome://resources/js/load_time_data.js"></script> |
| 9 <script src="chrome://resources/js/cr/ui.js"></script> | 9 <script src="chrome://resources/js/cr/ui.js"></script> |
| 10 <script src="chrome://resources/js/util.js"></script> | 10 <script src="chrome://resources/js/util.js"></script> |
| 11 <script src="strings.js"></script> | 11 <script src="strings.js"></script> |
| 12 <script src="gcm_internals.js"></script> | 12 <script src="gcm_internals.js"></script> |
| 13 </head> | 13 </head> |
| 14 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> | 14 <body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> |
| 15 <h1>GCM Internals</h1> | 15 <h1>GCM Internals</h1> |
| 16 <div> | 16 <div class="flexbar"> |
| 17 <h2>Device Info</h2> | 17 <button id="refresh">Refresh</button> |
| 18 <table> | 18 <button id="recording">Start Recording</button> |
| 19 <tr class="odd-number-row"> | 19 <button id="clear-logs">Clear All Logs</button> |
| 20 <td class="row-caption"> | 20 </div> |
| 21 |
| 22 <h2>Device Info</h2> |
| 23 <table id="device-info"> |
| 24 <tbody> |
| 25 <tr> |
| 26 <td> |
| 21 Android Id | 27 Android Id |
| 22 </td> | 28 </td> |
| 23 <td id="android-id"> | 29 <td id="android-id"> |
| 24 </td> | 30 </td> |
| 25 </tr> | 31 </tr> |
| 26 <tr> | 32 <tr> |
| 27 <td class="row-caption"> | 33 <td> |
| 28 User Profile Service Created | 34 User Profile Service Created |
| 29 </td> | 35 </td> |
| 30 <td id="profile-service-created"> | 36 <td id="profile-service-created"> |
| 31 </td> | 37 </td> |
| 32 </tr> | 38 </tr> |
| 33 <tr class="odd-number-row"> | 39 <tr> |
| 34 <td class="row-caption"> | 40 <td> |
| 35 GCM Enabled State | 41 GCM Enabled State |
| 36 </td> | 42 </td> |
| 37 <td id="gcm-enabled-state"> | 43 <td id="gcm-enabled-state"> |
| 38 </td> | 44 </td> |
| 39 </tr> | 45 </tr> |
| 40 <tr> | 46 <tr> |
| 41 <td class="row-caption"> | 47 <td> |
| 42 Signed In Username | 48 Signed In Username |
| 43 </td> | 49 </td> |
| 44 <td id="signed-in-username"> | 50 <td id="signed-in-username"> |
| 45 </td> | 51 </td> |
| 46 </tr> | 52 </tr> |
| 47 <tr class="odd-number-row"> | 53 <tr> |
| 48 <td class="row-caption"> | 54 <td> |
| 49 GCM Client Created | 55 GCM Client Created |
| 50 </td> | 56 </td> |
| 51 <td id="gcm-client-created"> | 57 <td id="gcm-client-created"> |
| 52 </td> | 58 </td> |
| 53 </tr> | 59 </tr> |
| 54 <tr> | 60 <tr> |
| 55 <td class="row-caption"> | 61 <td> |
| 56 GCM Client State | 62 GCM Client State |
| 57 </td> | 63 </td> |
| 58 <td id="gcm-client-state"> | 64 <td id="gcm-client-state"> |
| 59 </td> | 65 </td> |
| 60 </tr> | 66 </tr> |
| 61 <tr class="odd-number-row"> | 67 <tr> |
| 62 <td class="row-caption"> | 68 <td> |
| 63 GCM Client Is Ready | 69 GCM Client Is Ready |
| 64 </td> | 70 </td> |
| 65 <td id="gcm-client-ready"> | 71 <td id="gcm-client-ready"> |
| 66 </td> | 72 </td> |
| 67 </tr> | 73 </tr> |
| 68 <tr> | 74 <tr> |
| 69 <td class="row-caption"> | 75 <td> |
| 70 Connection Client Created | 76 Connection Client Created |
| 71 </td> | 77 </td> |
| 72 <td id="connection-client-created"> | 78 <td id="connection-client-created"> |
| 73 </td> | 79 </td> |
| 74 </tr> | 80 </tr> |
| 75 <tr class="odd-number-row"> | 81 <tr> |
| 76 <td class="row-caption"> | 82 <td> |
| 77 Connection State | 83 Connection State |
| 78 </td> | 84 </td> |
| 79 <td id="connection-state"> | 85 <td id="connection-state"> |
| 80 </td> | 86 </td> |
| 81 </tr> | 87 </tr> |
| 82 </table> | 88 <tr> |
| 83 </div> | 89 <td> |
| 90 Registered App Ids |
| 91 </td> |
| 92 <td id="registered-app-ids"> |
| 93 </td> |
| 94 </tr> |
| 95 <tr> |
| 96 <td> |
| 97 Send Message Queue Size |
| 98 </td> |
| 99 <td id="send-queue-size"> |
| 100 </td> |
| 101 </tr> |
| 102 <tr> |
| 103 <td> |
| 104 Unacked Message Queue Size |
| 105 </td> |
| 106 <td id="unacked-queue-size"> |
| 107 </td> |
| 108 </tr> |
| 109 </tbody> |
| 110 </table> |
| 111 |
| 112 <h2>Send Message Log</h2> |
| 113 <table class="log-table"> |
| 114 <thead> |
| 115 <tr> |
| 116 <th>Time</th> |
| 117 <th>App Id</th> |
| 118 <th>Receiver Id</th> |
| 119 <th>Msg Id</th> |
| 120 <th>Event</th> |
| 121 <th>Details</th> |
| 122 </tr> |
| 123 </thead> |
| 124 <tbody id="send-info"> |
| 125 </tbody> |
| 126 </table> |
| 127 |
| 84 <script src="chrome://resources/js/i18n_template2.js"></script> | 128 <script src="chrome://resources/js/i18n_template2.js"></script> |
| 85 </body> | 129 </body> |
| 86 </html> | 130 </html> |
| OLD | NEW |