// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "third_party/blink/renderer/modules/webcodecs/test_helpers.h" #include "base/containers/span.h" namespace blink { AllowSharedBufferSource* StringToBuffer(std::string_view data) { … } std::string BufferToString(const media::DecoderBuffer& buffer) { … } std::unique_ptr<media::DecryptConfig> CreateTestDecryptConfig( media::EncryptionScheme scheme, std::optional<media::EncryptionPattern> pattern) { … } } // namespace blink