#include "content/browser/renderer_host/renderer_cancellation_throttle.h"
#include "content/browser/renderer_host/frame_tree_node.h"
#include "content/browser/renderer_host/navigation_request.h"
namespace content {
namespace {
constexpr base::TimeDelta kDefaultCancellationTimeout = …;
base::TimeDelta g_cancellation_timeout = …;
}
std::unique_ptr<RendererCancellationThrottle>
RendererCancellationThrottle::MaybeCreateThrottleFor(NavigationHandle* handle) { … }
void RendererCancellationThrottle::SetCancellationTimeoutForTesting(
base::TimeDelta timeout) { … }
RendererCancellationThrottle::RendererCancellationThrottle(
NavigationHandle* navigation_handle)
: … { … }
RendererCancellationThrottle::~RendererCancellationThrottle() = default;
NavigationThrottle::ThrottleCheckResult
RendererCancellationThrottle::WillProcessResponse() { … }
NavigationThrottle::ThrottleCheckResult
RendererCancellationThrottle::WillCommitWithoutUrlLoader() { … }
NavigationThrottle::ThrottleCheckResult
RendererCancellationThrottle::WaitForRendererCancellationIfNeeded() { … }
void RendererCancellationThrottle::NavigationCancellationWindowEnded() { … }
void RendererCancellationThrottle::OnTimeout() { … }
void RendererCancellationThrottle::RestartTimeout() { … }
const char* RendererCancellationThrottle::GetNameForLogging() { … }
}