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

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

Issue 855003008: Log signal strategy progress to server. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 5 years, 11 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_connection.js
diff --git a/remoting/webapp/crd/js/xmpp_connection.js b/remoting/webapp/crd/js/xmpp_connection.js
index 88492945f0cf9c15057ad34e068f80dea2ea97e7..34d7a7d65c60ac539caa120740875a388567595c 100644
--- a/remoting/webapp/crd/js/xmpp_connection.js
+++ b/remoting/webapp/crd/js/xmpp_connection.js
@@ -157,6 +157,14 @@ remoting.XmppConnection.prototype.sendMessage = function(message) {
this.sendString_(message);
};
+/**
+ * @param {remoting.LogToServer} logToServer The LogToServer instance for the
+ * connection.
+ */
+remoting.XmppConnection.prototype.sendConnectionSetupResults =
+ function(logToServer) {
+};
+
/** @return {remoting.SignalStrategy.State} Current state */
remoting.XmppConnection.prototype.getState = function() {
return this.state_;
@@ -172,6 +180,11 @@ remoting.XmppConnection.prototype.getJid = function() {
return this.jid_;
};
+/** @return {remoting.SignalStrategy.Type} The signal strategy type. */
+remoting.XmppConnection.prototype.getType = function() {
+ return remoting.SignalStrategy.Type.XMPP;
+};
+
remoting.XmppConnection.prototype.dispose = function() {
this.closeSocket_();
this.setState_(remoting.SignalStrategy.State.CLOSED);
« no previous file with comments | « remoting/webapp/crd/js/wcs_adapter.js ('k') | remoting/webapp/unittests/fallback_signal_strategy_unittest.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698