| OLD | NEW |
| 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 /** | 5 /** |
| 6 * @fileoverview Interface for representing a low-level gnubby device. | 6 * @fileoverview Interface for representing a low-level gnubby device. |
| 7 */ | 7 */ |
| 8 'use strict'; | 8 'use strict'; |
| 9 | 9 |
| 10 /** | 10 /** |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 * @param {*} who The client. | 98 * @param {*} who The client. |
| 99 * @return {boolean} Whether this device has who as a client. | 99 * @return {boolean} Whether this device has who as a client. |
| 100 */ | 100 */ |
| 101 llGnubby.prototype.hasClient = function(who) {}; | 101 llGnubby.prototype.hasClient = function(who) {}; |
| 102 | 102 |
| 103 /** | 103 /** |
| 104 * Queue command to be sent. | 104 * Queue command to be sent. |
| 105 * If queue was empty, initiate the write. | 105 * If queue was empty, initiate the write. |
| 106 * @param {number} cid The client's channel ID. | 106 * @param {number} cid The client's channel ID. |
| 107 * @param {number} cmd The command to send. | 107 * @param {number} cmd The command to send. |
| 108 * @param {ArrayBuffer} data Command data | 108 * @param {ArrayBuffer|Uint8Array} data Command data |
| 109 */ | 109 */ |
| 110 llGnubby.prototype.queueCommand = function(cid, cmd, data) {}; | 110 llGnubby.prototype.queueCommand = function(cid, cmd, data) {}; |
| OLD | NEW |