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

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

Issue 8772065: The chromoting client logs a session-close initiated by the client itself. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/me2mom/client_session.js
diff --git a/remoting/webapp/me2mom/client_session.js b/remoting/webapp/me2mom/client_session.js
index e862afa97ffbc38ab7219acdb0fab7a92092a0b3..d56dc008431c1fd890c79d98c07841fb469f87b1 100644
--- a/remoting/webapp/me2mom/client_session.js
+++ b/remoting/webapp/me2mom/client_session.js
@@ -202,6 +202,9 @@ remoting.ClientSession.prototype.removePlugin = function() {
* @return {void} Nothing.
*/
remoting.ClientSession.prototype.disconnect = function() {
+ this.logToServer.logClientSessionStateChange(
+ remoting.ClientSession.State.CLOSED,
+ remoting.ClientSession.ConnectionError.NONE);
Jamie 2011/12/02 23:48:26 Please add a comment explaining that we won't get
simonmorris 2011/12/02 23:54:51 Done.
if (remoting.wcs) {
remoting.wcs.setOnIq(function(stanza) {});
this.sendIq_(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698