1 // Copyright 2018 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. 4 5 #include "device/fido/ctap_empty_authenticator_request.h" 6 7 #include "base/numerics/safe_conversions.h" 8 9 namespace device { 10 11 namespace internal { 12 Serialize() const13std::vector<uint8_t> CtapEmptyAuthenticatorRequest::Serialize() const { 14 return std::vector<uint8_t>{base::strict_cast<uint8_t>(cmd_)}; 15 } 16 17 } // namespace internal 18 19 } // namespace device 20