28 Navigator::~Navigator() {}
32 std::string key_system,
33 std::vector<eme::MediaKeySystemConfiguration> configs) {
36 if (key_system.empty()) {
43 if (configs.empty()) {
75 AddMemberFunction(
"requestMediaKeySystemAccess",
const std::string vendor_sub
const std::string product
const std::string app_code_name
static JsManagerImpl * Instance()
static Promise Rejected(const js::JsError &error)
const std::string app_version
~NavigatorFactory() override
std::shared_ptr< ThreadEvent< impl::RetOf< Func > > > AddInternalTask(TaskPriority priority, const std::string &name, Func &&callback)
const std::string product_sub
static Promise PendingPromise()
const std::string platform
static JsError TypeError(const std::string &message)
Promise RequestMediaKeySystemAccess(std::string key_system, std::vector< eme::MediaKeySystemConfiguration > configs)
const std::string app_name
const std::string user_agent
TaskRunner * MainThread()