#include "content/browser/media/cdm_storage_common.h"
#include "content/public/common/content_features.h"
namespace content {
namespace {
constexpr char kUmaPrefix[] = …;
constexpr char kIncognito[] = …;
constexpr char kNonIncognito[] = …;
constexpr char kMigration[] = …;
}
CdmFileId::CdmFileId(const std::string& name, const media::CdmType& cdm_type)
: … { … }
CdmFileId::CdmFileId(const CdmFileId&) = default;
CdmFileId::~CdmFileId() = default;
CdmFileIdTwo::CdmFileIdTwo(const std::string& name,
const media::CdmType& cdm_type,
const blink::StorageKey& storage_key)
: … { … }
CdmFileIdTwo::CdmFileIdTwo(const CdmFileIdTwo&) = default;
CdmFileIdTwo::~CdmFileIdTwo() = default;
CdmFileIdAndContents::CdmFileIdAndContents(const CdmFileId& file,
std::vector<uint8_t> data)
: … { … }
CdmFileIdAndContents::CdmFileIdAndContents(const CdmFileIdAndContents&) =
default;
CdmFileIdAndContents::~CdmFileIdAndContents() = default;
std::string GetCdmStorageManagerHistogramName(const std::string& operation,
bool in_memory) { … }
}