#include "content/public/browser/navigation_throttle.h"
#include "content/browser/renderer_host/navigation_request.h"
namespace content {
namespace {
net::Error DefaultNetErrorCode(NavigationThrottle::ThrottleAction action) { … }
}
NavigationThrottle::ThrottleCheckResult::ThrottleCheckResult(
NavigationThrottle::ThrottleAction action)
: … { … }
NavigationThrottle::ThrottleCheckResult::ThrottleCheckResult(
NavigationThrottle::ThrottleAction action,
net::Error net_error_code)
: … { … }
NavigationThrottle::ThrottleCheckResult::ThrottleCheckResult(
NavigationThrottle::ThrottleAction action,
net::Error net_error_code,
std::optional<std::string> error_page_content)
: … { … }
NavigationThrottle::ThrottleCheckResult::ThrottleCheckResult(
const ThrottleCheckResult& other) = default;
NavigationThrottle::ThrottleCheckResult::~ThrottleCheckResult() { … }
NavigationThrottle::NavigationThrottle(NavigationHandle* navigation_handle)
: … { … }
NavigationThrottle::~NavigationThrottle() { … }
NavigationThrottle::ThrottleCheckResult NavigationThrottle::WillStartRequest() { … }
NavigationThrottle::ThrottleCheckResult
NavigationThrottle::WillRedirectRequest() { … }
NavigationThrottle::ThrottleCheckResult NavigationThrottle::WillFailRequest() { … }
NavigationThrottle::ThrottleCheckResult
NavigationThrottle::WillProcessResponse() { … }
NavigationThrottle::ThrottleCheckResult
NavigationThrottle::WillCommitWithoutUrlLoader() { … }
void NavigationThrottle::Resume() { … }
void NavigationThrottle::CancelDeferredNavigation(
NavigationThrottle::ThrottleCheckResult result) { … }
}