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

Unified Diff: remoting/webapp/base/js/client_session.js

Issue 2004673002: Initialize remoting.ClientSession.PerfStats with zeros (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reviewer's Feedback Created 4 years, 7 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
« no previous file with comments | « no previous file | remoting/webapp/base/js/connection_stats.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/base/js/client_session.js
diff --git a/remoting/webapp/base/js/client_session.js b/remoting/webapp/base/js/client_session.js
index eda42d7891f85299f911988dd9d3cb5ee8bf005b..c611d4391d1c235b28d12ce8ffef763e1da41609 100644
--- a/remoting/webapp/base/js/client_session.js
+++ b/remoting/webapp/base/js/client_session.js
@@ -203,29 +203,29 @@ remoting.ClientSession.ConnectionError.fromString = function(error) {
*/
remoting.ClientSession.PerfStats = function() {};
/** @type {number} */
-remoting.ClientSession.PerfStats.prototype.videoBandwidth;
+remoting.ClientSession.PerfStats.prototype.videoBandwidth = 0;
/** @type {number} */
-remoting.ClientSession.PerfStats.prototype.videoFrameRate;
+remoting.ClientSession.PerfStats.prototype.videoFrameRate = 0;
/** @type {number} */
-remoting.ClientSession.PerfStats.prototype.captureLatency;
+remoting.ClientSession.PerfStats.prototype.captureLatency = 0;
/** @type {number} */
-remoting.ClientSession.PerfStats.prototype.maxCaptureLatency;
+remoting.ClientSession.PerfStats.prototype.maxCaptureLatency = 0;
/** @type {number} */
-remoting.ClientSession.PerfStats.prototype.encodeLatency;
+remoting.ClientSession.PerfStats.prototype.encodeLatency = 0;
/** @type {number} */
-remoting.ClientSession.PerfStats.prototype.maxEncodeLatency;
+remoting.ClientSession.PerfStats.prototype.maxEncodeLatency = 0;
/** @type {number} */
-remoting.ClientSession.PerfStats.prototype.decodeLatency;
+remoting.ClientSession.PerfStats.prototype.decodeLatency = 0;
/** @type {number} */
-remoting.ClientSession.PerfStats.prototype.maxDecodeLatency;
+remoting.ClientSession.PerfStats.prototype.maxDecodeLatency = 0;
/** @type {number} */
-remoting.ClientSession.PerfStats.prototype.renderLatency;
+remoting.ClientSession.PerfStats.prototype.renderLatency = 0;
/** @type {number} */
-remoting.ClientSession.PerfStats.prototype.maxRenderLatency;
+remoting.ClientSession.PerfStats.prototype.maxRenderLatency = 0;
/** @type {number} */
-remoting.ClientSession.PerfStats.prototype.roundtripLatency;
+remoting.ClientSession.PerfStats.prototype.roundtripLatency = 0;
/** @type {number} */
-remoting.ClientSession.PerfStats.prototype.maxRoundtripLatency;
+remoting.ClientSession.PerfStats.prototype.maxRoundtripLatency = 0;
// Keys for connection statistics.
remoting.ClientSession.STATS_KEY_VIDEO_BANDWIDTH = 'videoBandwidth';
« no previous file with comments | « no previous file | remoting/webapp/base/js/connection_stats.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698