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
3 // found in the LICENSE file.
6 * @fileoverview Implements a helper using USB gnubbies.
12 * @extends {GenericRequestHelper}
14 function UsbHelper() {
15 GenericRequestHelper.apply(this, arguments);
18 this.registerHandlerFactory('enroll_helper_request', function(request) {
19 return new UsbEnrollHandler(/** @type {EnrollHelperRequest} */ (request));
21 this.registerHandlerFactory('sign_helper_request', function(request) {
22 return new UsbSignHandler(/** @type {SignHelperRequest} */ (request));
26 inherits(UsbHelper, GenericRequestHelper);