#include "content/test/did_commit_navigation_interceptor.h"
#include "base/memory/raw_ptr.h"
#include "content/browser/renderer_host/render_frame_host_impl.h"
#include "content/common/frame.mojom-test-utils.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/web_contents.h"
namespace content {
class DidCommitNavigationInterceptor::FrameAgent
: public RenderFrameHostImpl::CommitCallbackInterceptor { … };
DidCommitNavigationInterceptor::DidCommitNavigationInterceptor(
WebContents* web_contents)
: … { … }
DidCommitNavigationInterceptor::~DidCommitNavigationInterceptor() = default;
void DidCommitNavigationInterceptor::RenderFrameCreated(
RenderFrameHost* render_frame_host) { … }
void DidCommitNavigationInterceptor::RenderFrameDeleted(
RenderFrameHost* render_frame_host) { … }
}