Index: remoting/webapp/crd/js/xmpp_login_handler.js |
diff --git a/remoting/webapp/crd/js/xmpp_login_handler.js b/remoting/webapp/crd/js/xmpp_login_handler.js |
index 74be464997962c2e60a4423501e0d8c88d4c80b3..f91ef55632098ee4568b34cad5f50956671ba98d 100644 |
--- a/remoting/webapp/crd/js/xmpp_login_handler.js |
+++ b/remoting/webapp/crd/js/xmpp_login_handler.js |
@@ -65,6 +65,12 @@ remoting.XmppLoginHandler = function(server, |
this.streamParser_ = null; |
} |
+/** @return {function(string, remoting.XmppStreamParser):void} */ |
+remoting.XmppLoginHandler.prototype.getHandshakeDoneCallbackForTesting = |
+ function() { |
+ return this.onHandshakeDoneCallback_; |
+}; |
+ |
/** |
* States the handshake goes through. States are iterated from INIT to DONE |
* sequentially, except for ERROR state which may be accepted at any point. |