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

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: Fix key tester 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
« no previous file with comments | « remoting/webapp/crd/js/oauth2.js ('k') | remoting/webapp/js_proto/chrome_cast_proto.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « remoting/webapp/crd/js/oauth2.js ('k') | remoting/webapp/js_proto/chrome_cast_proto.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698