Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / resources / gcm_internals.html
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 State
42       </td>
43       <td id="gcm-enabled-state">
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         GCM Client Is Ready
70       </td>
71       <td id="gcm-client-ready">
72       </td>
73     </tr>
74     <tr>
75       <td>
76         Connection Client Created
77       </td>
78       <td id="connection-client-created">
79       </td>
80     </tr>
81     <tr>
82       <td>
83         Connection State
84       </td>
85       <td id="connection-state">
86       </td>
87     </tr>
88     <tr>
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         Resend Message Queue Size
105       </td>
106       <td id="resend-queue-size">
107       </td>
108     </tr>
109   </tbody>
110 </table>
111
112 <h2>Check-in Log</h2>
113 <table class="log-table">
114   <thead>
115     <tr>
116       <th>Time</th>
117       <th>Event</th>
118       <th>Details</th>
119     </tr>
120   </thead>
121   <tbody id="checkin-info">
122   </tbody>
123 </table>
124
125 <h2>Connection Log</h2>
126 <table class="log-table">
127   <thead>
128     <tr>
129       <th>Time</th>
130       <th>Event</th>
131       <th>Details</th>
132     </tr>
133   </thead>
134   <tbody id="connection-info">
135   </tbody>
136 </table>
137
138 <h2>Registration Log</h2>
139 <table class="log-table">
140   <thead>
141     <tr>
142       <th>Time</th>
143       <th>App Id</th>
144       <th>Sender Ids</th>
145       <th>Event</th>
146       <th>Details</th>
147     </tr>
148   </thead>
149   <tbody id="registration-info">
150   </tbody>
151 </table>
152
153 <h2>Receive Message Log</h2>
154 <table class="log-table">
155   <thead>
156     <tr>
157       <th>Time</th>
158       <th>App Id</th>
159       <th>From</th>
160       <th>Size (bytes)</th>
161       <th>Event</th>
162       <th>Details</th>
163     </tr>
164   </thead>
165   <tbody id="receive-info">
166   </tbody>
167 </table>
168
169 <h2>Send Message Log</h2>
170 <table class="log-table">
171   <thead>
172     <tr>
173       <th>Time</th>
174       <th>App Id</th>
175       <th>Receiver Id</th>
176       <th>Msg Id</th>
177       <th>Event</th>
178       <th>Details</th>
179     </tr>
180   </thead>
181   <tbody id="send-info">
182   </tbody>
183 </table>
184
185 <script src="chrome://resources/js/i18n_template2.js"></script>
186 </body>
187 </html>