Fixed
- 'example' deps. - exposing 'internal' include files in external headers. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=232572457
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -9,11 +9,18 @@
|
||||
#ifndef MEDIA_CAS_PROXY_SDK_EXTERNAL_COMMON_WVPL_WVPL_CAS_PROXY_SESSION_H_
|
||||
#define MEDIA_CAS_PROXY_SDK_EXTERNAL_COMMON_WVPL_WVPL_CAS_PROXY_SESSION_H_
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "absl/synchronization/mutex.h"
|
||||
#include "sdk/external/common/wvpl/wvpl_sdk_session.h"
|
||||
#include "protos/public/media_cas_license.pb.h"
|
||||
|
||||
namespace absl {
|
||||
class Mutex;
|
||||
} // namespace absl
|
||||
|
||||
namespace widevine {
|
||||
class CasDrmLicenseRequest;
|
||||
} // namespace widevine
|
||||
|
||||
namespace widevine_server {
|
||||
namespace wv_pl_sdk {
|
||||
@@ -48,7 +55,7 @@ constexpr uint32_t kRelease = 2;
|
||||
*/
|
||||
class WvPLCASProxySession : public WvPLSDKSession {
|
||||
public:
|
||||
~WvPLCASProxySession() override {}
|
||||
~WvPLCASProxySession() override;
|
||||
|
||||
/**
|
||||
* Returns a std::string containing the version in the form -
|
||||
@@ -101,10 +108,10 @@ class WvPLCASProxySession : public WvPLSDKSession {
|
||||
std::string provider_;
|
||||
|
||||
// holds all the WvPLCasKey objects. Used when generating a CAS License.
|
||||
std::vector<WvPLCasKey> cas_keys_ GUARDED_BY(cas_keys_mutex_);
|
||||
std::vector<WvPLCasKey> cas_keys_;
|
||||
|
||||
// Mutex to protect the keys owned by this session.
|
||||
mutable absl::Mutex cas_keys_mutex_;
|
||||
// Mutex to protect the keys, |cas_keys_|, owned by this session.
|
||||
mutable std::unique_ptr<absl::Mutex> cas_keys_mutex_;
|
||||
};
|
||||
|
||||
} // namespace wv_pl_sdk
|
||||
|
||||
Reference in New Issue
Block a user