build: [gn] widevine cdm support behind flag (#14423)
* build: [gn] widevine cdm support behind flag * build: [gyp] link cdm_support in the component build
This commit is contained in:
parent
8441d09a18
commit
c7c95fab2f
11 changed files with 160 additions and 397 deletions
|
@ -8,6 +8,7 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "chrome/renderer/media/chrome_key_systems_provider.h"
|
||||
#include "content/public/renderer/content_renderer_client.h"
|
||||
#include "third_party/WebKit/public/web/WebLocalFrame.h"
|
||||
|
||||
|
@ -49,9 +50,11 @@ class RendererClientBase : public content::ContentRendererClient {
|
|||
void AddSupportedKeySystems(
|
||||
std::vector<std::unique_ptr<::media::KeySystemProperties>>* key_systems)
|
||||
override;
|
||||
bool IsKeySystemsUpdateNeeded() override;
|
||||
|
||||
private:
|
||||
std::unique_ptr<PreferencesManager> preferences_manager_;
|
||||
ChromeKeySystemsProvider key_systems_provider_;
|
||||
bool isolated_world_;
|
||||
|
||||
// An increasing ID used for indentifying an V8 context in this process.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue