chromium/media/base/cdm_config.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_BASE_CDM_CONFIG_H_
#define MEDIA_BASE_CDM_CONFIG_H_

#include <iosfwd>
#include <string>

#include "media/base/media_export.h"

namespace media {

// The runtime configuration for new CDM instances as computed by
// `requestMediaKeySystemAccess()`. This is in some sense the Chromium-side
// counterpart of Blink's `WebMediaKeySystemConfiguration`.
struct MEDIA_EXPORT CdmConfig {};

MEDIA_EXPORT std::ostream& operator<<(std::ostream& os,
                                      const CdmConfig& cdm_config);

}  // namespace media

#endif  // MEDIA_BASE_CDM_CONFIG_H_