Should not expose proto headers in public SDK headers and not include absl
mutex.h in public SDK headers. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=249330673
This commit is contained in:
@@ -214,9 +214,8 @@ WvPLStatus WvPLSDKEnvironment::CheckServiceCertificateType(
|
||||
"Service Certificate is wrong type"));
|
||||
}
|
||||
|
||||
widevine::DrmCertificate::ServiceType
|
||||
WvPLSDKEnvironment::GetExpectedServiceCertificateType() {
|
||||
return DrmCertificate::UNKNOWN_SERVICE_TYPE;
|
||||
int WvPLSDKEnvironment::GetExpectedServiceCertificateType() {
|
||||
return static_cast<int>(DrmCertificate::UNKNOWN_SERVICE_TYPE);
|
||||
}
|
||||
|
||||
} // namespace wv_pl_sdk
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include <string>
|
||||
|
||||
#include "sdk/external/common/wvpl/wvpl_types.h"
|
||||
#include "protos/public/drm_certificate.pb.h"
|
||||
|
||||
namespace widevine {
|
||||
class DeviceCertificateStatusList;
|
||||
@@ -111,8 +110,7 @@ class WvPLSDKEnvironment {
|
||||
|
||||
private:
|
||||
// Get the expected service type for drm service certificate.
|
||||
virtual widevine::DrmCertificate::ServiceType
|
||||
GetExpectedServiceCertificateType();
|
||||
virtual int GetExpectedServiceCertificateType();
|
||||
|
||||
// Check the type of |service_certificate|. Returns "OK" if the cert can be
|
||||
// used for the current SDK, else an error status.
|
||||
|
||||
Reference in New Issue
Block a user