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

Side by Side Diff: chrome/browser/resources/cryptotoken/llgnubby.js

Issue 308173002: Fix race and remove unused features in cryptotoken extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix type annotation Created 6 years, 6 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
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 /** 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
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) {};
OLDNEW
« no previous file with comments | « chrome/browser/resources/cryptotoken/gnubby-u2f.js ('k') | chrome/browser/resources/cryptotoken/llhidgnubby.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698