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

Side by Side Diff: chrome/browser/resources/cryptotoken/usbenrollhandler.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 Implements an enroll handler using USB gnubbies. 6 * @fileoverview Implements an enroll handler using USB gnubbies.
7 */ 7 */
8 'use strict'; 8 'use strict';
9 9
10 /** 10 /**
11 * @param {!EnrollHelperRequest} request The enroll request. 11 * @param {!EnrollHelperRequest} request The enroll request.
12 * @constructor 12 * @constructor
13 * @implements {RequestHandler} 13 * @implements {RequestHandler}
14 */ 14 */
15 function UsbEnrollHandler(request) { 15 function UsbEnrollHandler(request) {
16 /** @private {!EnrollHelperRequest} */ 16 /** @private {!EnrollHelperRequest} */
17 this.request_ = request; 17 this.request_ = request;
18 18
19 /** @private {Array.<Gnubby>} */ 19 /** @private {Array<Gnubby>} */
20 this.waitingForTouchGnubbies_ = []; 20 this.waitingForTouchGnubbies_ = [];
21 21
22 /** @private {boolean} */ 22 /** @private {boolean} */
23 this.closed_ = false; 23 this.closed_ = false;
24 /** @private {boolean} */ 24 /** @private {boolean} */
25 this.notified_ = false; 25 this.notified_ = false;
26 } 26 }
27 27
28 /** 28 /**
29 * Default timeout value in case the caller never provides a valid timeout. 29 * Default timeout value in case the caller never provides a valid timeout.
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 this.notified_ = true; 329 this.notified_ = true;
330 this.close(); 330 this.close();
331 var reply = { 331 var reply = {
332 'type': 'enroll_helper_reply', 332 'type': 'enroll_helper_reply',
333 'code': DeviceStatusCodes.OK_STATUS, 333 'code': DeviceStatusCodes.OK_STATUS,
334 'version': version, 334 'version': version,
335 'enrollData': info 335 'enrollData': info
336 }; 336 };
337 this.cb_(reply); 337 this.cb_(reply);
338 }; 338 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/cryptotoken/textfetcher.js ('k') | chrome/browser/resources/cryptotoken/usbgnubbydevice.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698