#include "content/browser/renderer_host/render_view_host_factory.h"
#include <memory>
#include "base/check.h"
#include "base/memory/ptr_util.h"
#include "content/browser/renderer_host/render_view_host_impl.h"
#include "content/browser/renderer_host/render_widget_host_factory.h"
#include "content/browser/site_instance_group.h"
#include "mojo/public/cpp/bindings/pending_remote.h"
namespace content {
RenderViewHostFactory* RenderViewHostFactory::factory_ = …;
bool RenderViewHostFactory::is_real_render_view_host_ = …;
RenderViewHost* RenderViewHostFactory::Create(
FrameTree* frame_tree,
SiteInstanceGroup* group,
const StoragePartitionConfig& storage_partition_config,
RenderViewHostDelegate* delegate,
RenderWidgetHostDelegate* widget_delegate,
int32_t main_frame_routing_id,
bool renderer_initiated_creation,
scoped_refptr<BrowsingContextState> main_browsing_context_state,
CreateRenderViewHostCase create_case,
std::optional<viz::FrameSinkId> frame_sink_id) { … }
void RenderViewHostFactory::RegisterFactory(RenderViewHostFactory* factory) { … }
void RenderViewHostFactory::UnregisterFactory() { … }
}