1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 // This file contains type definitions for various remoting classes.
6 // It is used only with JSCompiler to verify the type-correctness of our code.
8 /** @suppress {duplicate} */
9 var remoting
= remoting
|| {};
14 remoting
.WcsIqClient = function() {};
16 /** @param {function(Array<string>): void} onMsg The function called when a
17 * message is received.
18 * @return {void} Nothing. */
19 remoting
.WcsIqClient
.prototype.setOnMessage = function(onMsg
) {};
21 /** @return {void} Nothing. */
22 remoting
.WcsIqClient
.prototype.connectChannel = function() {};
24 /** @param {string} stanza An IQ stanza.
25 * @return {void} Nothing. */
26 remoting
.WcsIqClient
.prototype.sendIq = function(stanza
) {};
28 /** @param {string} token An OAuth2 access token.
29 * @return {void} Nothing. */
30 remoting
.WcsIqClient
.prototype.updateAccessToken = function(token
) {};