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

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

Issue 855003008: Log signal strategy progress to server. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/signal_strategy.js
diff --git a/remoting/webapp/crd/js/signal_strategy.js b/remoting/webapp/crd/js/signal_strategy.js
index f07613f9bd3a71175197341e38896592fce4788f..6963c2fd71f42b7ca0d83b7525a2a221466357e7 100644
--- a/remoting/webapp/crd/js/signal_strategy.js
+++ b/remoting/webapp/crd/js/signal_strategy.js
@@ -59,6 +59,16 @@ remoting.SignalStrategy.prototype.connect =
*/
remoting.SignalStrategy.prototype.sendMessage = function(message) {};
+/**
+ * Send any messages accumulated during connection set-up.
+ *
+ * @param {remoting.LogToServer} logToServer The LogToServer instance for the
+ * connection.
+ */
+remoting.SignalStrategy.prototype.sendConnectionSetupResults =
+ function(logToServer) {
+};
+
/** @return {remoting.SignalStrategy.State} Current state */
remoting.SignalStrategy.prototype.getState = function() {};
@@ -92,15 +102,8 @@ remoting.SignalStrategy.create = function(onStateChangedCallback) {
return new remoting.WcsAdapter(onStateChanged);
};
- /**
- * @param {remoting.FallbackSignalStrategy.Progress} progress
- */
- var progressCallback = function(progress) {
- console.log('FallbackSignalStrategy progress: ' + progress);
- };
-
return new remoting.FallbackSignalStrategy(
- xmppFactory, wcsFactory, onStateChangedCallback, progressCallback);
+ xmppFactory, wcsFactory, onStateChangedCallback);
} else {
return new remoting.WcsAdapter(onStateChangedCallback);

Powered by Google App Engine
This is Rietveld 408576698