#include "components/navigation_interception/intercept_navigation_throttle.h"
#include "base/functional/bind.h"
#include "base/task/single_thread_task_runner.h"
#include "content/public/browser/navigation_handle.h"
#include "url/gurl.h"
namespace navigation_interception {
BASE_FEATURE(…);
InterceptNavigationThrottle::InterceptNavigationThrottle(
content::NavigationHandle* navigation_handle,
CheckCallback should_ignore_callback,
SynchronyMode async_mode)
: … { … }
InterceptNavigationThrottle::~InterceptNavigationThrottle() = default;
content::NavigationThrottle::ThrottleCheckResult
InterceptNavigationThrottle::WillStartRequest() { … }
content::NavigationThrottle::ThrottleCheckResult
InterceptNavigationThrottle::WillRedirectRequest() { … }
content::NavigationThrottle::ThrottleCheckResult
InterceptNavigationThrottle::WillProcessResponse() { … }
const char* InterceptNavigationThrottle::GetNameForLogging() { … }
content::NavigationThrottle::ThrottleCheckResult
InterceptNavigationThrottle::CheckIfShouldIgnoreNavigation() { … }
void InterceptNavigationThrottle::RunCheckAsync() { … }
bool InterceptNavigationThrottle::ShouldCheckAsynchronously() const { … }
}