Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <html i18n-values="dir:textdirection;lang:language"> | 2 <html i18n-values="dir:textdirection;lang:language"> |
| 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 <if expr="is_android"> | |
| 7 <meta name="viewport" content="width=device-width"> | |
| 8 </if> | |
| 6 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> | 9 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css"> |
| 7 <link rel="stylesheet" href="gcm_internals.css"> | 10 <link rel="stylesheet" href="gcm_internals.css"> |
| 8 | 11 |
| 9 <if expr="is_ios"> | 12 <if expr="is_ios"> |
| 10 <!-- TODO(crbug.com/487000): Remove this once injected by web. --> | 13 <!-- TODO(crbug.com/487000): Remove this once injected by web. --> |
| 11 <script src="chrome://resources/js/ios/web_ui.js"></script> | 14 <script src="chrome://resources/js/ios/web_ui.js"></script> |
| 12 </if> | 15 </if> |
| 13 | 16 |
| 14 <script src="chrome://resources/js/cr.js"></script> | 17 <script src="chrome://resources/js/cr.js"></script> |
| 15 <script src="chrome://resources/js/load_time_data.js"></script> | 18 <script src="chrome://resources/js/load_time_data.js"></script> |
| 16 <script src="chrome://resources/js/cr/ui.js"></script> | 19 <script src="chrome://resources/js/cr/ui.js"></script> |
| 17 <script src="chrome://resources/js/util.js"></script> | 20 <script src="chrome://resources/js/util.js"></script> |
| 18 <script src="strings.js"></script> | 21 <script src="strings.js"></script> |
| 19 <script src="gcm_internals.js"></script> | 22 <script src="gcm_internals.js"></script> |
| 20 </head> | 23 </head> |
| 21 <body> | 24 <body> |
| 22 <h1>GCM Internals</h1> | 25 <h1>GCM Internals</h1> |
| 23 <div class="flexbar"> | 26 <div class="flexbar"> |
| 24 <button id="refresh">Refresh</button> | 27 <button id="refresh">Refresh</button> |
| 25 <button id="recording">Start Recording</button> | 28 <button id="recording">Start Recording</button> |
| 26 <button id="clear-logs">Clear All Logs</button> | 29 <button id="clear-logs">Clear All Logs</button> |
| 27 </div> | 30 </div> |
| 28 | 31 |
| 29 <h2>Device Info</h2> | 32 <h2>Device Info</h2> |
| 30 <table id="device-info"> | 33 <table id="device-info"> |
| 31 <tbody> | 34 <tbody> |
| 32 <tr> | 35 <if expr="not is_android"> |
| 33 <td> | 36 <tr> |
| 34 Android Id | 37 <td> |
| 35 </td> | 38 Android Id |
| 36 <td id="android-id"> | 39 </td> |
| 37 </td> | 40 <td id="android-id"> |
| 38 </tr> | 41 </td> |
| 39 <tr> | 42 </tr> |
| 40 <td> | 43 <tr> |
| 41 User Profile Service Created | 44 <td> |
| 42 </td> | 45 User Profile Service Created |
| 43 <td id="profile-service-created"> | 46 </td> |
| 44 </td> | 47 <td id="profile-service-created"> |
| 45 </tr> | 48 </td> |
| 49 </tr> | |
| 50 </if> | |
| 46 <tr> | 51 <tr> |
| 47 <td> | 52 <td> |
| 48 GCM Enabled | 53 GCM Enabled |
| 49 </td> | 54 </td> |
| 50 <td id="gcm-enabled"> | 55 <td id="gcm-enabled"> |
| 51 </td> | 56 </td> |
| 52 </tr> | 57 </tr> |
| 53 <tr> | 58 <if expr="not is_android"> |
| 54 <td> | 59 <tr> |
| 55 GCM Client Created | 60 <td> |
| 56 </td> | 61 GCM Client Created |
| 57 <td id="gcm-client-created"> | 62 </td> |
| 58 </td> | 63 <td id="gcm-client-created"> |
| 59 </tr> | 64 </td> |
| 60 <tr> | 65 </tr> |
| 61 <td> | 66 <tr> |
| 62 GCM Client State | 67 <td> |
| 63 </td> | 68 GCM Client State |
| 64 <td id="gcm-client-state"> | 69 </td> |
| 65 </td> | 70 <td id="gcm-client-state"> |
| 66 </tr> | 71 </td> |
| 67 <tr> | 72 </tr> |
| 68 <td> | 73 <tr> |
| 69 Connection Client Created | 74 <td> |
| 70 </td> | 75 Connection Client Created |
| 71 <td id="connection-client-created"> | 76 </td> |
| 72 </td> | 77 <td id="connection-client-created"> |
| 73 </tr> | 78 </td> |
| 74 <tr> | 79 </tr> |
| 75 <td> | 80 <tr> |
| 76 Connection State | 81 <td> |
| 77 </td> | 82 Connection State |
| 78 <td id="connection-state"> | 83 </td> |
| 79 </td> | 84 <td id="connection-state"> |
| 80 </tr> | 85 </td> |
| 81 <tr> | 86 </tr> |
| 82 <td> | 87 <tr> |
| 83 Registered App Ids | 88 <td> |
| 84 </td> | 89 Registered App Ids |
| 85 <td id="registered-app-ids"> | 90 </td> |
| 86 </td> | 91 <td id="registered-app-ids"> |
| 87 </tr> | 92 </td> |
| 88 <tr> | 93 </tr> |
| 89 <td> | 94 <tr> |
| 90 Send Message Queue Size | 95 <td> |
| 91 </td> | 96 Send Message Queue Size |
| 92 <td id="send-queue-size"> | 97 </td> |
| 93 </td> | 98 <td id="send-queue-size"> |
| 94 </tr> | 99 </td> |
| 95 <tr> | 100 </tr> |
| 96 <td> | 101 <tr> |
| 97 Resend Message Queue Size | 102 <td> |
| 98 </td> | 103 Resend Message Queue Size |
| 99 <td id="resend-queue-size"> | 104 </td> |
| 100 </td> | 105 <td id="resend-queue-size"> |
| 101 </tr> | 106 </td> |
| 107 </tr> | |
| 108 </if> | |
| 102 </tbody> | 109 </tbody> |
| 103 </table> | 110 </table> |
| 104 | 111 |
| 105 <h2>Check-in Log</h2> | 112 <if expr="not is_android"> |
| 106 <table class="log-table"> | 113 <h2>Check-in Log</h2> |
| 107 <thead> | 114 <table class="log-table"> |
| 108 <tr> | 115 <thead> |
| 109 <th>Time</th> | 116 <tr> |
| 110 <th>Event</th> | 117 <th>Time</th> |
| 111 <th>Details</th> | 118 <th>Event</th> |
| 112 </tr> | 119 <th>Details</th> |
| 113 </thead> | 120 </tr> |
| 114 <tbody id="checkin-info"> | 121 </thead> |
| 115 </tbody> | 122 <tbody id="checkin-info"> |
| 116 </table> | 123 </tbody> |
| 124 </table> | |
| 117 | 125 |
| 118 <h2>Connection Log</h2> | 126 <h2>Connection Log</h2> |
| 119 <table class="log-table"> | 127 <table class="log-table"> |
| 120 <thead> | 128 <thead> |
| 121 <tr> | 129 <tr> |
| 122 <th>Time</th> | 130 <th>Time</th> |
| 123 <th>Event</th> | 131 <th>Event</th> |
| 124 <th>Details</th> | 132 <th>Details</th> |
| 125 </tr> | 133 </tr> |
| 126 </thead> | 134 </thead> |
| 127 <tbody id="connection-info"> | 135 <tbody id="connection-info"> |
| 128 </tbody> | 136 </tbody> |
| 129 </table> | 137 </table> |
| 138 </if> | |
| 130 | 139 |
| 131 <h2>Registration Log</h2> | 140 <h2>Registration Log</h2> |
| 132 <table class="log-table"> | 141 <table class="log-table"> |
| 133 <thead> | 142 <thead> |
| 134 <tr> | 143 <tr> |
| 135 <th>Time</th> | 144 <th>Time</th> |
| 136 <th>App Id</th> | 145 <th>App Id</th> |
| 137 <th>Source</th> | 146 <th>Source</th> |
| 138 <th>Event</th> | 147 <th>Event</th> |
| 139 <th>Details</th> | 148 <th>Details</th> |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 152 <th>From</th> | 161 <th>From</th> |
| 153 <th>Size (bytes)</th> | 162 <th>Size (bytes)</th> |
| 154 <th>Event</th> | 163 <th>Event</th> |
| 155 <th>Details</th> | 164 <th>Details</th> |
| 156 </tr> | 165 </tr> |
| 157 </thead> | 166 </thead> |
| 158 <tbody id="receive-info"> | 167 <tbody id="receive-info"> |
| 159 </tbody> | 168 </tbody> |
| 160 </table> | 169 </table> |
| 161 | 170 |
| 162 <h2>Send Message Log</h2> | 171 <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.
| |
| 163 <table class="log-table"> | 172 <h2>Send Message Log</h2> |
| 164 <thead> | 173 <table class="log-table"> |
| 165 <tr> | 174 <thead> |
| 166 <th>Time</th> | 175 <tr> |
| 167 <th>App Id</th> | 176 <th>Time</th> |
| 168 <th>Receiver Id</th> | 177 <th>App Id</th> |
| 169 <th>Msg Id</th> | 178 <th>Receiver Id</th> |
| 170 <th>Event</th> | 179 <th>Msg Id</th> |
| 171 <th>Details</th> | 180 <th>Event</th> |
| 172 </tr> | 181 <th>Details</th> |
| 173 </thead> | 182 </tr> |
| 174 <tbody id="send-info"> | 183 </thead> |
| 175 </tbody> | 184 <tbody id="send-info"> |
| 176 </table> | 185 </tbody> |
| 186 </table> | |
| 187 </if> | |
| 177 | 188 |
| 178 <script src="chrome://resources/js/i18n_template.js"></script> | 189 <script src="chrome://resources/js/i18n_template.js"></script> |
| 179 </body> | 190 </body> |
| 180 </html> | 191 </html> |
| OLD | NEW |