chromium/media/cdm/cdm_helpers.h

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef MEDIA_CDM_CDM_HELPERS_H_
#define MEDIA_CDM_CDM_HELPERS_H_

#include <stdint.h>

#include "base/compiler_specific.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/scoped_refptr.h"
#include "media/base/media_export.h"
#include "media/base/video_color_space.h"
#include "media/cdm/api/content_decryption_module.h"
#include "ui/gfx/geometry/size.h"

namespace media {

class VideoFrame;

// File size limit is 512KB. Licenses saved by the CDM are typically several
// hundreds of bytes.
constexpr int64_t kMaxFileSizeBytes =;

class DecryptedBlockImpl final : public cdm::DecryptedBlock {};

class MEDIA_EXPORT VideoFrameImpl : public cdm::VideoFrame,
                                    public cdm::VideoFrame_2 {};

class AudioFramesImpl final : public cdm::AudioFrames {};

}  // namespace media

#endif  // MEDIA_CDM_CDM_HELPERS_H_