OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 // This file contains type definitions for various remoting classes. | 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. | 6 // It is used only with JSCompiler to verify the type-correctness of our code. |
7 | 7 |
8 /** @suppress {duplicate} */ | 8 /** @suppress {duplicate} */ |
9 var remoting = remoting || {}; | 9 var remoting = remoting || {}; |
10 | 10 |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 /** @param {function(string):void} callback Callback to be called with | 90 /** @param {function(string):void} callback Callback to be called with |
91 * the version, as a dotted string. | 91 * the version, as a dotted string. |
92 * @return {void} Nothing. */ | 92 * @return {void} Nothing. */ |
93 remoting.HostPlugin.prototype.getDaemonVersion = function(callback) {}; | 93 remoting.HostPlugin.prototype.getDaemonVersion = function(callback) {}; |
94 | 94 |
95 /** @param {function(boolean, boolean, boolean):void} callback Callback to be | 95 /** @param {function(boolean, boolean, boolean):void} callback Callback to be |
96 * called with the consent. | 96 * called with the consent. |
97 * @return {void} Nothing. */ | 97 * @return {void} Nothing. */ |
98 remoting.HostPlugin.prototype.getUsageStatsConsent = function(callback) {}; | 98 remoting.HostPlugin.prototype.getUsageStatsConsent = function(callback) {}; |
99 | 99 |
| 100 /** @param {function(remoting.HostController.AsyncResult):void} callback |
| 101 * Callback to be called when finished. |
| 102 * @return {void} Nothing. */ |
| 103 remoting.HostPlugin.prototype.installHost = function(callback) {}; |
| 104 |
100 /** @param {string} config Host configuration. | 105 /** @param {string} config Host configuration. |
101 * @param {function(remoting.HostController.AsyncResult):void} callback | 106 * @param {function(remoting.HostController.AsyncResult):void} callback |
102 * Callback to be called when finished. | 107 * Callback to be called when finished. |
103 * @return {void} Nothing. */ | 108 * @return {void} Nothing. */ |
104 remoting.HostPlugin.prototype.startDaemon = function( | 109 remoting.HostPlugin.prototype.startDaemon = function( |
105 config, consent, callback) {}; | 110 config, consent, callback) {}; |
106 | 111 |
107 /** @param {function(remoting.HostController.AsyncResult):void} callback | 112 /** @param {function(remoting.HostController.AsyncResult):void} callback |
108 * Callback to be called when finished. | 113 * Callback to be called when finished. |
109 * @return {void} Nothing. */ | 114 * @return {void} Nothing. */ |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 /** @return {void} Nothing. */ | 182 /** @return {void} Nothing. */ |
178 remoting.WcsIqClient.prototype.connectChannel = function() {}; | 183 remoting.WcsIqClient.prototype.connectChannel = function() {}; |
179 | 184 |
180 /** @param {string} stanza An IQ stanza. | 185 /** @param {string} stanza An IQ stanza. |
181 * @return {void} Nothing. */ | 186 * @return {void} Nothing. */ |
182 remoting.WcsIqClient.prototype.sendIq = function(stanza) {}; | 187 remoting.WcsIqClient.prototype.sendIq = function(stanza) {}; |
183 | 188 |
184 /** @param {string} token An OAuth2 access token. | 189 /** @param {string} token An OAuth2 access token. |
185 * @return {void} Nothing. */ | 190 * @return {void} Nothing. */ |
186 remoting.WcsIqClient.prototype.updateAccessToken = function(token) {}; | 191 remoting.WcsIqClient.prototype.updateAccessToken = function(token) {}; |
OLD | NEW |