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

Unified Diff: remoting/webapp/crd/js/xmpp_login_handler.js

Issue 959963002: [Chromoting] Enable jscompile for webapp unittests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
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.

Powered by Google App Engine
This is Rietveld 408576698