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:
Ramji Chandramouli
2019-05-21 14:51:33 -07:00
parent be0bb27305
commit 6d34128391
4 changed files with 12 additions and 13 deletions

View File

@@ -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

View File

@@ -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.