Add EMMG to carry fingerprinting and service blocking info
This commit is contained in:
33
common/default_device_security_profile_list.h
Normal file
33
common/default_device_security_profile_list.h
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
// Copyright 2020 Google LLC. All rights reserved.
|
||||||
|
//
|
||||||
|
// Description:
|
||||||
|
// Container of Widevine default security profiless.
|
||||||
|
|
||||||
|
#ifndef VIDEO_WIDEVINE_EXPORT_COMMON_DEFAULT_DEVICE_SECURITY_PROFILE_LIST_H_
|
||||||
|
#define VIDEO_WIDEVINE_EXPORT_COMMON_DEFAULT_DEVICE_SECURITY_PROFILE_LIST_H_
|
||||||
|
|
||||||
|
#include "video/widevine/export/common/security_profile_list.h"
|
||||||
|
|
||||||
|
namespace video_widevine {
|
||||||
|
|
||||||
|
class DefaultDeviceSecurityProfileList : public SecurityProfileList {
|
||||||
|
public:
|
||||||
|
DefaultDeviceSecurityProfileList();
|
||||||
|
~DefaultDeviceSecurityProfileList() override {}
|
||||||
|
|
||||||
|
// Initialize the security profile list. The list is initially empty, this
|
||||||
|
// function will populate the list with default profiles. The size of the
|
||||||
|
// list is returned.
|
||||||
|
int Init() override;
|
||||||
|
|
||||||
|
private:
|
||||||
|
// Initialize the list with Widevine default profiles. The size of the
|
||||||
|
// profile list after the additions is returned.
|
||||||
|
virtual int AddDefaultProfiles();
|
||||||
|
virtual int GetDefaultProfileStrings(
|
||||||
|
std::vector<std::string>* default_profile_strings) const;
|
||||||
|
};
|
||||||
|
|
||||||
|
} // namespace video_widevine
|
||||||
|
|
||||||
|
#endif // VIDEO_WIDEVINE_EXPORT_COMMON_DEFAULT_DEVICE_SECURITY_PROFILE_LIST_H_
|
||||||
Reference in New Issue
Block a user