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

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

Issue 8527011: The chromoting client sends simple logging to the server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review. Created 9 years, 1 month 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/me2mom/client_session.js
diff --git a/remoting/webapp/me2mom/client_session.js b/remoting/webapp/me2mom/client_session.js
index a45ad57527053802703f89c61783df9e5bbf1924..9fcd4d950ff4663a3e80086f841eee7fc4b2c1ff 100644
--- a/remoting/webapp/me2mom/client_session.js
+++ b/remoting/webapp/me2mom/client_session.js
@@ -39,7 +39,7 @@ remoting.ClientSession = function(hostJid, hostPublicKey, accessCode, email,
this.clientJid = '';
this.sessionId = '';
/** @type {remoting.ViewerPlugin} */ this.plugin = null;
-
+ this.logToServer = new remoting.LogToServer();
this.onStateChange = onStateChange;
};
@@ -326,6 +326,7 @@ remoting.ClientSession.prototype.setState_ = function(state) {
if (this.onStateChange) {
this.onStateChange(oldState);
}
+ this.logToServer.logClientSessionStateChange(this.state, this.error);
};
/**

Powered by Google App Engine
This is Rietveld 408576698