Replace DeviceFiles::LicenseState with CdmOfflineLicenseState
[ Merge of http://go/wvgerrit/123003 ] Bug: 160006474 Test: WV unit/integration tests Change-Id: Ied813f58405fcac44f0543f715ab2175129bbf9c
This commit is contained in:
@@ -237,7 +237,7 @@ class CdmSession {
|
||||
|
||||
CdmResponseType StoreLicense();
|
||||
|
||||
bool StoreLicense(DeviceFiles::LicenseState state, int* error_detail);
|
||||
bool StoreLicense(CdmOfflineLicenseState state, int* error_detail);
|
||||
|
||||
bool UpdateUsageInfo();
|
||||
|
||||
|
||||
@@ -25,12 +25,6 @@ class FileSystem;
|
||||
|
||||
class DeviceFiles {
|
||||
public:
|
||||
typedef enum {
|
||||
kLicenseStateActive,
|
||||
kLicenseStateReleasing,
|
||||
kLicenseStateUnknown,
|
||||
} LicenseState;
|
||||
|
||||
typedef enum {
|
||||
kCertificateValid,
|
||||
kCertificateExpired,
|
||||
@@ -76,7 +70,7 @@ class DeviceFiles {
|
||||
// license file. License data is uniquely keyed using |key_set_id|.
|
||||
struct CdmLicenseData {
|
||||
std::string key_set_id;
|
||||
LicenseState state;
|
||||
CdmOfflineLicenseState state;
|
||||
CdmInitData pssh_data;
|
||||
// License request / response.
|
||||
CdmKeyMessage license_request;
|
||||
|
||||
Reference in New Issue
Block a user