#include "components/cast_receiver/renderer/content_renderer_client_mixins_impl.h"
#include "components/cast_receiver/renderer/url_rewrite_rules_provider.h"
#include "components/media_control/renderer/media_playback_options.h"
#include "components/on_load_script_injector/renderer/on_load_script_injector.h"
#include "content/public/renderer/render_frame.h"
#include "third_party/blink/public/web/web_local_frame.h"
namespace cast_receiver {
std::unique_ptr<ContentRendererClientMixins>
ContentRendererClientMixins::Create(
IsCorsExemptHeadersCallback is_cors_exempt_header_callback) { … }
ContentRendererClientMixinsImpl::ContentRendererClientMixinsImpl(
IsCorsExemptHeadersCallback is_cors_exempt_header_callback)
: … { … }
ContentRendererClientMixinsImpl::~ContentRendererClientMixinsImpl() = default;
void ContentRendererClientMixinsImpl::RenderFrameCreated(
content::RenderFrame& render_frame) { … }
bool ContentRendererClientMixinsImpl::DeferMediaLoad(
content::RenderFrame& render_frame,
base::OnceClosure closure) { … }
std::unique_ptr<blink::URLLoaderThrottleProvider>
ContentRendererClientMixinsImpl::CreateURLLoaderThrottleProvider() { … }
std::unique_ptr<blink::URLLoaderThrottleProvider>
ContentRendererClientMixinsImpl::ExtendURLLoaderThrottleProvider(
std::unique_ptr<blink::URLLoaderThrottleProvider> delegated_load_provider) { … }
void ContentRendererClientMixinsImpl::OnRenderFrameRemoved(
const blink::LocalFrameToken& frame_token) { … }
UrlRewriteRulesProvider*
ContentRendererClientMixinsImpl::GetUrlRewriteRulesProvider(
const blink::LocalFrameToken& frame_token) { … }
bool ContentRendererClientMixinsImpl::IsCorsExemptHeader(
std::string_view header) { … }
}