1<!DOCTYPE HTML>
2<html i18n-values="dir:textdirection">
3<head>
4  <meta charset="utf-8">
5  <title>GCM Internals</title>
6  <link rel="stylesheet" href="gcm_internals.css">
7  <script src="chrome://resources/js/cr.js"></script>
8  <script src="chrome://resources/js/load_time_data.js"></script>
9  <script src="chrome://resources/js/cr/ui.js"></script>
10  <script src="chrome://resources/js/util.js"></script>
11  <script src="strings.js"></script>
12  <script src="gcm_internals.js"></script>
13</head>
14<body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
15<h1>GCM Internals</h1>
16<div class="flexbar">
17  <button id="refresh">Refresh</button>
18  <button id="recording">Start Recording</button>
19  <button id="clear-logs">Clear All Logs</button>
20</div>
21
22<h2>Device Info</h2>
23<table id="device-info">
24  <tbody>
25    <tr>
26      <td>
27        Android Id
28      </td>
29      <td id="android-id">
30      </td>
31    </tr>
32    <tr>
33      <td>
34        User Profile Service Created
35      </td>
36      <td id="profile-service-created">
37      </td>
38    </tr>
39    <tr>
40      <td>
41        GCM Enabled
42      </td>
43      <td id="gcm-enabled">
44      </td>
45    </tr>
46    <tr>
47      <td>
48        Signed In Username
49      </td>
50      <td id="signed-in-username">
51      </td>
52    </tr>
53    <tr>
54      <td>
55        GCM Client Created
56      </td>
57      <td id="gcm-client-created">
58      </td>
59    </tr>
60    <tr>
61      <td>
62        GCM Client State
63      </td>
64      <td id="gcm-client-state">
65      </td>
66    </tr>
67    <tr>
68      <td>
69        Connection Client Created
70      </td>
71      <td id="connection-client-created">
72      </td>
73    </tr>
74    <tr>
75      <td>
76        Connection State
77      </td>
78      <td id="connection-state">
79      </td>
80    </tr>
81    <tr>
82      <td>
83        Registered App Ids
84      </td>
85      <td id="registered-app-ids">
86      </td>
87    </tr>
88    <tr>
89      <td>
90        Send Message Queue Size
91      </td>
92      <td id="send-queue-size">
93      </td>
94    </tr>
95    <tr>
96      <td>
97        Resend Message Queue Size
98      </td>
99      <td id="resend-queue-size">
100      </td>
101    </tr>
102  </tbody>
103</table>
104
105<h2>Check-in Log</h2>
106<table class="log-table">
107  <thead>
108    <tr>
109      <th>Time</th>
110      <th>Event</th>
111      <th>Details</th>
112    </tr>
113  </thead>
114  <tbody id="checkin-info">
115  </tbody>
116</table>
117
118<h2>Connection Log</h2>
119<table class="log-table">
120  <thead>
121    <tr>
122      <th>Time</th>
123      <th>Event</th>
124      <th>Details</th>
125    </tr>
126  </thead>
127  <tbody id="connection-info">
128  </tbody>
129</table>
130
131<h2>Registration Log</h2>
132<table class="log-table">
133  <thead>
134    <tr>
135      <th>Time</th>
136      <th>App Id</th>
137      <th>Sender Ids</th>
138      <th>Event</th>
139      <th>Details</th>
140    </tr>
141  </thead>
142  <tbody id="registration-info">
143  </tbody>
144</table>
145
146<h2>Receive Message Log</h2>
147<table class="log-table">
148  <thead>
149    <tr>
150      <th>Time</th>
151      <th>App Id</th>
152      <th>From</th>
153      <th>Size (bytes)</th>
154      <th>Event</th>
155      <th>Details</th>
156    </tr>
157  </thead>
158  <tbody id="receive-info">
159  </tbody>
160</table>
161
162<h2>Send Message Log</h2>
163<table class="log-table">
164  <thead>
165    <tr>
166      <th>Time</th>
167      <th>App Id</th>
168      <th>Receiver Id</th>
169      <th>Msg Id</th>
170      <th>Event</th>
171      <th>Details</th>
172    </tr>
173  </thead>
174  <tbody id="send-info">
175  </tbody>
176</table>
177
178<script src="chrome://resources/js/i18n_template2.js"></script>
179</body>
180</html>