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

Unified Diff: remoting/webapp/client_session.js

Issue 126123002: Show connection type in web-app. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: remoting/webapp/client_session.js
diff --git a/remoting/webapp/client_session.js b/remoting/webapp/client_session.js
index a6bc3bd6bc19ef90a90251feb29013069362c00a..f5ba95c75597f1a6d237955301e285c495da38f7 100644
--- a/remoting/webapp/client_session.js
+++ b/remoting/webapp/client_session.js
@@ -233,7 +233,11 @@ remoting.ClientSession.Mode = {
* Type used for performance statistics collected by the plugin.
* @constructor
*/
-remoting.ClientSession.PerfStats = function() {};
+remoting.ClientSession.PerfStats = function() {
+ /** @type {Object.<string>} */
+ this.channelTypes = {};
+};
+
/** @type {number} */
remoting.ClientSession.PerfStats.prototype.videoBandwidth;
/** @type {number} */

Powered by Google App Engine
This is Rietveld 408576698