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

Side by Side Diff: remoting/webapp/crd/js/xmpp_connection.js

Issue 917093003: Shorten Closure template notation from Array.<*> to Array<*>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove cvox 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 unified diff | Download patch
« no previous file with comments | « remoting/webapp/crd/js/xhr.js ('k') | remoting/webapp/js_proto/chrome_proto.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 'use strict'; 5 'use strict';
6 6
7 /** @suppress {duplicate} */ 7 /** @suppress {duplicate} */
8 var remoting = remoting || {}; 8 var remoting = remoting || {};
9 9
10 /** 10 /**
(...skipping 19 matching lines...) Expand all
30 /** @private */ 30 /** @private */
31 this.socketId_ = -1; 31 this.socketId_ = -1;
32 /** @private */ 32 /** @private */
33 this.state_ = remoting.SignalStrategy.State.NOT_CONNECTED; 33 this.state_ = remoting.SignalStrategy.State.NOT_CONNECTED;
34 /** @private */ 34 /** @private */
35 this.readPending_ = false; 35 this.readPending_ = false;
36 /** @private */ 36 /** @private */
37 this.sendPending_ = false; 37 this.sendPending_ = false;
38 /** @private */ 38 /** @private */
39 this.startTlsPending_ = false; 39 this.startTlsPending_ = false;
40 /** @type {Array.<ArrayBuffer>} @private */ 40 /** @type {Array<ArrayBuffer>} @private */
41 this.sendQueue_ = []; 41 this.sendQueue_ = [];
42 /** @type {remoting.XmppLoginHandler} @private*/ 42 /** @type {remoting.XmppLoginHandler} @private*/
43 this.loginHandler_ = null; 43 this.loginHandler_ = null;
44 /** @type {remoting.XmppStreamParser} @private*/ 44 /** @type {remoting.XmppStreamParser} @private*/
45 this.streamParser_ = null; 45 this.streamParser_ = null;
46 /** @private */ 46 /** @private */
47 this.jid_ = ''; 47 this.jid_ = '';
48 /** @private */ 48 /** @private */
49 this.error_ = remoting.Error.NONE; 49 this.error_ = remoting.Error.NONE;
50 /** @private */ 50 /** @private */
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 /** 481 /**
482 * @param {remoting.SignalStrategy.State} newState 482 * @param {remoting.SignalStrategy.State} newState
483 * @private 483 * @private
484 */ 484 */
485 remoting.XmppConnection.prototype.setState_ = function(newState) { 485 remoting.XmppConnection.prototype.setState_ = function(newState) {
486 if (this.state_ != newState) { 486 if (this.state_ != newState) {
487 this.state_ = newState; 487 this.state_ = newState;
488 this.onStateChangedCallback_(this.state_); 488 this.onStateChangedCallback_(this.state_);
489 } 489 }
490 }; 490 };
OLDNEW
« no previous file with comments | « remoting/webapp/crd/js/xhr.js ('k') | remoting/webapp/js_proto/chrome_proto.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698