Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4185)

Unified Diff: chrome/browser/resources/gcm_internals.html

Issue 176823009: Show device information in chrome://gcm-internals page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/gcm_internals.html
diff --git a/chrome/browser/resources/gcm_internals.html b/chrome/browser/resources/gcm_internals.html
index b4a9e4828cb324b9fac687ca8c6f25114e4fb80f..e0bf042180afb100cee3eeebe3b68cb7a2221478 100644
--- a/chrome/browser/resources/gcm_internals.html
+++ b/chrome/browser/resources/gcm_internals.html
@@ -15,6 +15,71 @@
<h1>GCM Internals</h1>
<div>
<h2>Device Info</h2>
+ <table>
+ <tr class="odd-number-row">
+ <td class="row-caption">
+ User Profile Name
+ </td>
+ <td id="profile-name">
+ </td>
+ </tr>
+ <tr>
+ <td class="row-caption">
+ User Profile Service Created
+ </td>
+ <td id="profile-service-created">
+ </td>
+ </tr>
+ <tr class="odd-number-row">
+ <td class="row-caption">
+ GCM Enabled State
+ </td>
+ <td id="gcm-enabled-state">
+ </td>
+ </tr>
+ <tr>
+ <td class="row-caption">
+ User Signed In
+ </td>
+ <td id="user-signed-in">
+ </td>
+ </tr>
+ <tr class="odd-number-row">
+ <td class="row-caption">
+ GCM Client Created
+ </td>
+ <td id="gcm-client-created">
+ </td>
+ </tr>
+ <tr>
+ <td class="row-caption">
+ GCM Client State
+ </td>
+ <td id="gcm-client-state">
+ </td>
+ </tr>
+ <tr class="odd-number-row">
+ <td class="row-caption">
+ GCM Client Is Ready
+ </td>
+ <td id="gcm-client-ready">
+ </td>
+ </tr>
+ <tr>
+ <td class="row-caption">
+ Connection Client Created
+ </td>
+ <td id="connection-client-created">
+ </td>
+ </tr>
+ <tr class="odd-number-row">
+ <td class="row-caption">
+ Connection State
+ </td>
+ <td id="connection-state">
+ </td>
+ </tr>
+ </table>
</div>
<script src="chrome://resources/js/i18n_template2.js"></script>
</body>

Powered by Google App Engine
This is Rietveld 408576698