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

Side by Side Diff: components/gcm_driver/resources/gcm_internals.js

Issue 1616113003: List message decryption failures on chrome://gcm-internals (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase after CL 1619053003 Created 4 years, 11 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 unified diff | Download patch
« no previous file with comments | « components/gcm_driver/resources/gcm_internals.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 cr.define('gcmInternals', function() { 5 cr.define('gcmInternals', function() {
6 'use strict'; 6 'use strict';
7 7
8 var isRecording = false; 8 var isRecording = false;
9 9
10 /** 10 /**
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 $('recording').textContent = 'Start Recording'; 135 $('recording').textContent = 'Start Recording';
136 $('recording').disabled = false; 136 $('recording').disabled = false;
137 if (infos.deviceInfo !== undefined) { 137 if (infos.deviceInfo !== undefined) {
138 displayDeviceInfo(infos.deviceInfo); 138 displayDeviceInfo(infos.deviceInfo);
139 } 139 }
140 140
141 refreshLogTable('checkin-info', infos.checkinInfo); 141 refreshLogTable('checkin-info', infos.checkinInfo);
142 refreshLogTable('connection-info', infos.connectionInfo); 142 refreshLogTable('connection-info', infos.connectionInfo);
143 refreshLogTable('registration-info', infos.registrationInfo); 143 refreshLogTable('registration-info', infos.registrationInfo);
144 refreshLogTable('receive-info', infos.receiveInfo); 144 refreshLogTable('receive-info', infos.receiveInfo);
145 refreshLogTable('decryption-failure-info', infos.decryptionFailureInfo);
145 refreshLogTable('send-info', infos.sendInfo); 146 refreshLogTable('send-info', infos.sendInfo);
146 } 147 }
147 148
148 // Return an object with all of the exports. 149 // Return an object with all of the exports.
149 return { 150 return {
150 initialize: initialize, 151 initialize: initialize,
151 setGcmInternalsInfo: setGcmInternalsInfo, 152 setGcmInternalsInfo: setGcmInternalsInfo,
152 }; 153 };
153 }); 154 });
154 155
155 document.addEventListener('DOMContentLoaded', gcmInternals.initialize); 156 document.addEventListener('DOMContentLoaded', gcmInternals.initialize);
OLDNEW
« no previous file with comments | « components/gcm_driver/resources/gcm_internals.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698