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

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

Issue 983023002: [Chromoting] Use compact notation for javascript @private types (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
« no previous file with comments | « remoting/webapp/crd/js/dns_blackhole_checker.js ('k') | remoting/webapp/crd/js/fullscreen_v1.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/webapp/crd/js/fallback_signal_strategy.js
diff --git a/remoting/webapp/crd/js/fallback_signal_strategy.js b/remoting/webapp/crd/js/fallback_signal_strategy.js
index f2501440053b7214020a482b6b99e2e9b98b668b..a4e281fd04522a49ecaf1619224c1010d22f43b2 100644
--- a/remoting/webapp/crd/js/fallback_signal_strategy.js
+++ b/remoting/webapp/crd/js/fallback_signal_strategy.js
@@ -20,36 +20,23 @@ var remoting = remoting || {};
*/
remoting.FallbackSignalStrategy = function(primary,
secondary) {
- /**
- * @type {remoting.SignalStrategy}
- * @private
- */
+ /** @private {remoting.SignalStrategy} */
this.primary_ = primary;
this.primary_.setStateChangedCallback(this.onPrimaryStateChanged_.bind(this));
- /**
- * @type {remoting.SignalStrategy}
- * @private
- */
+ /** @private {remoting.SignalStrategy} */
this.secondary_ = secondary;
this.secondary_.setStateChangedCallback(
this.onSecondaryStateChanged_.bind(this));
- /**
- * @type {?function(remoting.SignalStrategy.State)}
- * @private
- */
+ /** @private {?function(remoting.SignalStrategy.State)} */
this.onStateChangedCallback_ = null;
- /**
- * @type {?function(Element):void}
- * @private
- */
+ /** @private {?function(Element):void} */
this.onIncomingStanzaCallback_ = null;
/**
- * @type {number}
- * @private
+ * @private {number}
* @const
*/
this.PRIMARY_CONNECT_TIMEOUT_MS_ = 10 * 1000;
@@ -68,46 +55,25 @@ remoting.FallbackSignalStrategy = function(primary,
CLOSED: 'closed'
};
- /**
- * @type {string}
- * @private
- */
+ /** @private {string} */
this.state_ = this.State.NOT_CONNECTED;
- /**
- * @type {?remoting.SignalStrategy.State}
- * @private
- */
+ /** @private {?remoting.SignalStrategy.State} */
this.externalState_ = null;
- /**
- * @type {string}
- * @private
- */
+ /** @private {string} */
this.server_ = '';
- /**
- * @type {string}
- * @private
- */
+ /** @private {string} */
this.username_ = '';
- /**
- * @type {string}
- * @private
- */
+ /** @private {string} */
this.authToken_ = '';
- /**
- * @type {number}
- * @private
- */
+ /** @private {number} */
this.primaryConnectTimerId_ = 0;
- /**
- * @type {remoting.LogToServer}
- * @private
- */
+ /** @private {remoting.LogToServer} */
this.logToServer_ = null;
/**
« no previous file with comments | « remoting/webapp/crd/js/dns_blackhole_checker.js ('k') | remoting/webapp/crd/js/fullscreen_v1.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698