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

Side by Side Diff: chrome/browser/resources/cryptotoken/gnubbyfactory.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
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 Contains a factory interface for creating and opening gnubbies. 6 * @fileoverview Contains a factory interface for creating and opening gnubbies.
7 */ 7 */
8 'use strict'; 8 'use strict';
9 9
10 /** 10 /**
11 * A factory for creating and opening gnubbies. 11 * A factory for creating and opening gnubbies.
12 * @interface 12 * @interface
13 */ 13 */
14 function GnubbyFactory() {} 14 function GnubbyFactory() {}
15 15
16 /** 16 /**
17 * Enumerates gnubbies. 17 * Enumerates gnubbies.
18 * @param {function(number, Array.<GnubbyDeviceId>)} cb Enumerate callback 18 * @param {function(number, Array<GnubbyDeviceId>)} cb Enumerate callback
19 */ 19 */
20 GnubbyFactory.prototype.enumerate = function(cb) { 20 GnubbyFactory.prototype.enumerate = function(cb) {
21 }; 21 };
22 22
23 /** @typedef {function(number, Gnubby=)} */ 23 /** @typedef {function(number, Gnubby=)} */
24 var FactoryOpenCallback; 24 var FactoryOpenCallback;
25 25
26 /** 26 /**
27 * Creates a new gnubby object, and opens the gnubby with the given index. 27 * Creates a new gnubby object, and opens the gnubby with the given index.
28 * @param {GnubbyDeviceId} which The device to open. 28 * @param {GnubbyDeviceId} which The device to open.
(...skipping 10 matching lines...) Expand all
39 * callback is called. 39 * callback is called.
40 * @param {Gnubby} gnubby The not-enrolled gnubby. 40 * @param {Gnubby} gnubby The not-enrolled gnubby.
41 * @param {string} appIdHash The base64-encoded hash of the app id for which 41 * @param {string} appIdHash The base64-encoded hash of the app id for which
42 * the gnubby being enrolled. 42 * the gnubby being enrolled.
43 * @param {FactoryOpenCallback} cb Called with the result of the prerequisite 43 * @param {FactoryOpenCallback} cb Called with the result of the prerequisite
44 * check. (A non-zero status indicates failure.) 44 * check. (A non-zero status indicates failure.)
45 */ 45 */
46 GnubbyFactory.prototype.notEnrolledPrerequisiteCheck = 46 GnubbyFactory.prototype.notEnrolledPrerequisiteCheck =
47 function(gnubby, appIdHash, cb) { 47 function(gnubby, appIdHash, cb) {
48 }; 48 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/cryptotoken/gnubbydevice.js ('k') | chrome/browser/resources/cryptotoken/multiplesigner.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698