// Copyright 2024 Google LLC. All Rights Reserved. This file and proprietary // source code may only be used and distributed under the Widevine License // Agreement. // #include "prov4_validation_helper.h" namespace wvoec { namespace util { std::string StatusToString(FieldStatus status) { if (status == FieldStatus::kAbsent) { return ""; } if (status == FieldStatus::kEmpty) { return ""; } return "present"; } void ApplyStatus(CborMessageStatus& status, CborMessageStatus new_status) { if (new_status > status) { status = new_status; } } } // namespace util } // namespace wvoec