#include "chrome/browser/media/output_protection_impl.h"
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "base/logging.h"
#include "chrome/browser/media/output_protection_proxy.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/render_process_host.h"
void OutputProtectionImpl::Create(
content::RenderFrameHost* render_frame_host,
mojo::PendingReceiver<media::mojom::OutputProtection> receiver) { … }
OutputProtectionImpl::OutputProtectionImpl(
content::RenderFrameHost& render_frame_host,
mojo::PendingReceiver<media::mojom::OutputProtection> receiver)
: … { … }
OutputProtectionImpl::~OutputProtectionImpl() { … }
void OutputProtectionImpl::QueryStatus(QueryStatusCallback callback) { … }
void OutputProtectionImpl::EnableProtection(uint32_t desired_protection_mask,
EnableProtectionCallback callback) { … }
void OutputProtectionImpl::OnQueryStatusResult(QueryStatusCallback callback,
bool success,
uint32_t link_mask,
uint32_t protection_mask) { … }
void OutputProtectionImpl::OnEnableProtectionResult(
EnableProtectionCallback callback,
bool success) { … }
OutputProtectionProxy* OutputProtectionImpl::GetProxy() { … }