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

Unified Diff: chrome/browser/resources/cryptotoken/devicestatuscodes.js

Issue 249913002: FIDO U2F component extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with HEAD Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/cryptotoken/countdown.js ('k') | chrome/browser/resources/cryptotoken/enroller.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/cryptotoken/devicestatuscodes.js
diff --git a/chrome/browser/resources/cryptotoken/devicestatuscodes.js b/chrome/browser/resources/cryptotoken/devicestatuscodes.js
new file mode 100644
index 0000000000000000000000000000000000000000..4a8123636780a9b440a34104fb79dd0bbcfaa59c
--- /dev/null
+++ b/chrome/browser/resources/cryptotoken/devicestatuscodes.js
@@ -0,0 +1,51 @@
+// Copyright (c) 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+/**
+ * @fileoverview This file defines the status codes returned by the device.
+ */
+
+var DeviceStatusCodes = {};
+
+/**
+ * Device operation succeeded.
+ * @const
+ */
+DeviceStatusCodes.OK_STATUS = 0;
+
+/**
+ * Device operation wait touch status.
+ * @const
+ */
+DeviceStatusCodes.WAIT_TOUCH_STATUS = 0x6985;
+
+/**
+ * Device operation invalid data status.
+ * @const
+ */
+DeviceStatusCodes.INVALID_DATA_STATUS = 0x6984;
+
+/**
+ * Device operation wrong data status.
+ * @const
+ */
+DeviceStatusCodes.WRONG_DATA_STATUS = 0x6a80;
+
+/**
+ * Device operation timeout status.
+ * @const
+ */
+DeviceStatusCodes.TIMEOUT_STATUS = -5;
+
+/**
+ * Device operation busy status.
+ * @const
+ */
+DeviceStatusCodes.BUSY_STATUS = -6;
+
+/**
+ * Device removed status.
+ * @const
+ */
+DeviceStatusCodes.GONE_STATUS = -8;
« no previous file with comments | « chrome/browser/resources/cryptotoken/countdown.js ('k') | chrome/browser/resources/cryptotoken/enroller.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698