chromium/third_party/blink/renderer/platform/media/web_content_decryption_module_access_impl.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/platform/media/web_content_decryption_module_access_impl.h"

#include <memory>
#include <utility>

#include "base/functional/bind.h"
#include "base/location.h"
#include "base/task/single_thread_task_runner.h"
#include "third_party/blink/public/platform/media/web_encrypted_media_client_impl.h"

namespace blink {

// The caller owns the created cdm (passed back using |result|).
static void CreateCdm(
    const base::WeakPtr<WebEncryptedMediaClientImpl>& client,
    const WebSecurityOrigin& security_origin,
    const media::CdmConfig& cdm_config,
    std::unique_ptr<WebContentDecryptionModuleResult> result) {}

// static
WebContentDecryptionModuleAccessImpl*
WebContentDecryptionModuleAccessImpl::From(
    WebContentDecryptionModuleAccess* cdm_access) {}

std::unique_ptr<WebContentDecryptionModuleAccessImpl>
WebContentDecryptionModuleAccessImpl::Create(
    const WebSecurityOrigin& security_origin,
    const WebMediaKeySystemConfiguration& configuration,
    const media::CdmConfig& cdm_config,
    const base::WeakPtr<WebEncryptedMediaClientImpl>& client) {}

WebContentDecryptionModuleAccessImpl::WebContentDecryptionModuleAccessImpl(
    const WebSecurityOrigin& security_origin,
    const WebMediaKeySystemConfiguration& configuration,
    const media::CdmConfig& cdm_config,
    const base::WeakPtr<WebEncryptedMediaClientImpl>& client)
    :{}

WebContentDecryptionModuleAccessImpl::~WebContentDecryptionModuleAccessImpl() =
    default;

WebString WebContentDecryptionModuleAccessImpl::GetKeySystem() {}

WebMediaKeySystemConfiguration
WebContentDecryptionModuleAccessImpl::GetConfiguration() {}

void WebContentDecryptionModuleAccessImpl::CreateContentDecryptionModule(
    WebContentDecryptionModuleResult result,
    scoped_refptr<base::SingleThreadTaskRunner> task_runner) {}

bool WebContentDecryptionModuleAccessImpl::UseHardwareSecureCodecs() const {}

}  // namespace blink