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

Unified Diff: device/u2f/u2f_return_code.h

Issue 2821263005: Add U2F request state machines (Closed)
Patch Set: Call Start before adding devices Created 3 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 | « device/u2f/u2f_request_unittest.cc ('k') | device/u2f/u2f_sign.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/u2f/u2f_return_code.h
diff --git a/device/u2f/u2f_return_code.h b/device/u2f/u2f_return_code.h
new file mode 100644
index 0000000000000000000000000000000000000000..4aa0b4284e73230357efcf7f347828c1ff4389f4
--- /dev/null
+++ b/device/u2f/u2f_return_code.h
@@ -0,0 +1,19 @@
+// Copyright 2017 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.
+
+#ifndef DEVICE_U2F_U2F_RETURN_CODE_H_
+#define DEVICE_U2F_U2F_RETURN_CODE_H_
+
+namespace device {
+
+enum class U2fReturnCode : uint8_t {
+ SUCCESS,
+ FAILURE,
+ INVALID_PARAMS,
+ CONDITIONS_NOT_SATISFIED,
+};
+
+} // namespace device
+
+#endif // DEVICE_U2F_U2F_RETURN_CODE_H_
« no previous file with comments | « device/u2f/u2f_request_unittest.cc ('k') | device/u2f/u2f_sign.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698