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

Unified Diff: remoting/webapp/me2mom/client_screen.js

Issue 8865005: The chromoting client logs connection statistics to the server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review. Created 9 years 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 | « remoting/webapp/me2mom/choice.html ('k') | remoting/webapp/me2mom/client_session.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/me2mom/client_screen.js
diff --git a/remoting/webapp/me2mom/client_screen.js b/remoting/webapp/me2mom/client_screen.js
index 0090c53c2ef7e3e36cb2acb6ac948e8539f5fb01..1574e47343f06fb09f893261266771ffffe1a9f7 100644
--- a/remoting/webapp/me2mom/client_screen.js
+++ b/remoting/webapp/me2mom/client_screen.js
@@ -388,7 +388,9 @@ function updateStatistics_() {
remoting.clientSession.state != remoting.ClientSession.State.CONNECTED) {
return;
}
- remoting.debug.updateStatistics(remoting.clientSession.stats());
+ var stats = remoting.clientSession.stats();
+ remoting.debug.updateStatistics(stats);
+ remoting.clientSession.logStatistics(stats);
// Update the stats once per second.
window.setTimeout(updateStatistics_, 1000);
}
« no previous file with comments | « remoting/webapp/me2mom/choice.html ('k') | remoting/webapp/me2mom/client_session.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698