Android development of the widevine CDM has been done on the jb-mr2 branch of the cdm code base. This CL contains a merge of that jb-mr2 work to CDM master, and also reflects the evolution of the common Modular DRM code base since jb-mr2 branched. Change-Id: I1d7e1a12d092c00044a4298261146cb97808d4ef
29 lines
1.0 KiB
C++
29 lines
1.0 KiB
C++
// Copyright 2013 Google Inc. All Rights Reserved.
|
|
|
|
#include "properties.h"
|
|
#include "properties_configuration.h"
|
|
#include "wv_cdm_constants.h"
|
|
|
|
namespace wvcdm {
|
|
|
|
bool Properties::begin_license_usage_when_received_;
|
|
bool Properties::require_explicit_renew_request_;
|
|
bool Properties::oem_crypto_use_secure_buffers_;
|
|
bool Properties::oem_crypto_use_fifo_;
|
|
bool Properties::oem_crypto_use_userspace_buffers_;
|
|
bool Properties::use_certificates_as_identification_;
|
|
bool Properties::extract_pssh_data_;
|
|
|
|
void Properties::Init() {
|
|
begin_license_usage_when_received_ = kPropertyBeginLicenseUsageWhenReceived;
|
|
require_explicit_renew_request_ = kPropertyRequireExplicitRenewRequest;
|
|
oem_crypto_use_secure_buffers_ = kPropertyOemCryptoUseSecureBuffers;
|
|
oem_crypto_use_fifo_ = kPropertyOemCryptoUseFifo;
|
|
oem_crypto_use_userspace_buffers_ = kPropertyOemCryptoUseUserSpaceBuffers;
|
|
use_certificates_as_identification_ =
|
|
kPropertyUseCertificatesAsIdentification;
|
|
extract_pssh_data_ = kExtractPsshData;
|
|
}
|
|
|
|
} // namespace wvcdm
|