| Index: device/u2f/u2f_device.h
|
| diff --git a/device/u2f/u2f_device.h b/device/u2f/u2f_device.h
|
| index 06b9d2f81658dc6f6b8bc303cc52c4a97d9dae5a..77c8133ff5afd7d613516366695dca1a9fdfce04 100644
|
| --- a/device/u2f/u2f_device.h
|
| +++ b/device/u2f/u2f_device.h
|
| @@ -10,6 +10,7 @@
|
| #include "base/callback.h"
|
| #include "base/memory/weak_ptr.h"
|
| #include "u2f_apdu_response.h"
|
| +#include "u2f_return_code.h"
|
|
|
| namespace device {
|
|
|
| @@ -23,15 +24,9 @@ class U2fDevice {
|
| U2F_V2,
|
| UNKNOWN,
|
| };
|
| - enum class ReturnCode : uint8_t {
|
| - SUCCESS,
|
| - FAILURE,
|
| - INVALID_PARAMS,
|
| - CONDITIONS_NOT_SATISFIED,
|
| - };
|
|
|
| using MessageCallback =
|
| - base::Callback<void(ReturnCode, std::vector<uint8_t>)>;
|
| + base::Callback<void(U2fReturnCode, std::vector<uint8_t>)>;
|
| using VersionCallback =
|
| base::Callback<void(bool success, ProtocolVersion version)>;
|
| using DeviceCallback =
|
|
|