QUIC - cleanup changes to sync chromium tree with internal source.
[chromium-blink-merge.git] / chrome / browser / resources / cryptotoken / devicestatuscodes.js
blobdc037c0bae5040cb662fdcd70c610f31a97f98bf
1 // Copyright 2015 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.
5 /**
6 * @fileoverview This file defines the status codes returned by the device.
7 */
9 var DeviceStatusCodes = {};
11 /**
12 * Device operation succeeded.
13 * @const
15 DeviceStatusCodes.OK_STATUS = 0;
17 /**
18 * Device operation wrong length status.
19 * @const
21 DeviceStatusCodes.WRONG_LENGTH_STATUS = 0x6700;
23 /**
24 * Device operation wait touch status.
25 * @const
27 DeviceStatusCodes.WAIT_TOUCH_STATUS = 0x6985;
29 /**
30 * Device operation invalid data status.
31 * @const
33 DeviceStatusCodes.INVALID_DATA_STATUS = 0x6984;
35 /**
36 * Device operation wrong data status.
37 * @const
39 DeviceStatusCodes.WRONG_DATA_STATUS = 0x6a80;
41 /**
42 * Device operation timeout status.
43 * @const
45 DeviceStatusCodes.TIMEOUT_STATUS = -5;
47 /**
48 * Device operation busy status.
49 * @const
51 DeviceStatusCodes.BUSY_STATUS = -6;
53 /**
54 * Device removed status.
55 * @const
57 DeviceStatusCodes.GONE_STATUS = -8;