Forward declaration of DrmRootCertificate.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=227608878
This commit is contained in:
13
sdk/external/common/wvpl/wvpl_sdk_environment.h
vendored
13
sdk/external/common/wvpl/wvpl_sdk_environment.h
vendored
@@ -12,11 +12,13 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "common/drm_root_certificate.h"
|
||||
#include "sdk/external/common/wvpl/wvpl_types.h"
|
||||
#include "protos/public/device_certificate_status.pb.h"
|
||||
#include "protos/public/provisioned_device_info.pb.h"
|
||||
|
||||
namespace widevine {
|
||||
class DeviceCertificateStatusList;
|
||||
class DrmRootCertificate;
|
||||
class ProvisionedDeviceInfo;
|
||||
} // namespace widevine
|
||||
namespace widevine_server {
|
||||
namespace wv_pl_sdk {
|
||||
|
||||
@@ -38,8 +40,7 @@ const char kDrmCertificateType[] = "drm_certificate_type";
|
||||
*/
|
||||
class WvPLSDKEnvironment {
|
||||
public:
|
||||
virtual ~WvPLSDKEnvironment() {}
|
||||
static void SetConfigValue(const std::map<std::string, std::string>& config_values);
|
||||
virtual ~WvPLSDKEnvironment();
|
||||
// Generates a license response containing a message generated in response to
|
||||
// an error condition. |create_session_status| is a previous error status
|
||||
// returned by the CreateSession(). |license_response| points to a std::string to
|
||||
@@ -87,6 +88,8 @@ class WvPLSDKEnvironment {
|
||||
|
||||
WvPLStatus SetDeviceCertificateStatusList(const std::string& cert_list) const;
|
||||
|
||||
static void SetConfigValue(const std::map<std::string, std::string>& config_values);
|
||||
|
||||
// Number of seconds until the certificate status list expires after its
|
||||
// creation time. Default value is 604800 seconds.
|
||||
uint32_t device_certificate_expiration_seconds_ = 604800;
|
||||
|
||||
Reference in New Issue
Block a user