#include "third_party/blink/public/common/shared_storage/shared_storage_utils.h"
#include <string_view>
#include "base/metrics/histogram_functions.h"
#include "base/strings/string_util.h"
#include "third_party/blink/public/common/features.h"
namespace blink {
namespace {
size_t MaxChar16StringLength() { … }
}
bool IsValidSharedStorageURLsArrayLength(size_t length) { … }
bool IsValidSharedStorageKeyStringLength(size_t length) { … }
bool IsValidSharedStorageValueStringLength(size_t length) { … }
void LogSharedStorageWorkletError(SharedStorageWorkletErrorType error_type) { … }
void LogSharedStorageSelectURLBudgetStatus(
SharedStorageSelectUrlBudgetStatus budget_status) { … }
bool ShouldDefinePrivateAggregationInSharedStorage() { … }
bool IsValidPrivateAggregationContextId(std::string_view context_id) { … }
bool IsValidPrivateAggregationFilteringIdMaxBytes(
size_t filtering_id_max_bytes) { … }
}