build: [gn] widevine cdm support behind flag (3-0-x) (#14497)

This commit is contained in:
Shelley Vohr 2018-09-07 22:43:39 -07:00 committed by GitHub
parent 893f866c05
commit 8fd31a3e07
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 405 additions and 215 deletions

View file

@ -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"
@ -50,8 +51,11 @@ class RendererClientBase : public content::ContentRendererClient {
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.