Source release 19.4.0

This commit is contained in:
Vicky Min
2024-11-27 00:07:23 +00:00
parent 11c108a8da
commit 22759672a8
72 changed files with 5321 additions and 2622 deletions

View File

@@ -0,0 +1,25 @@
// 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 "<absent>";
}
if (status == FieldStatus::kEmpty) {
return "<empty>";
}
return "present";
}
void ApplyStatus(CborMessageStatus& status, CborMessageStatus new_status) {
if (new_status > status) {
status = new_status;
}
}
} // namespace util
} // namespace wvoec