#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include "content/public/test/test_navigation_throttle.h"
#include "base/functional/bind.h"
#include "content/public/browser/browser_task_traits.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/navigation_handle.h"
namespace content {
TestNavigationThrottle::TestNavigationThrottle(NavigationHandle* handle)
: … { … }
TestNavigationThrottle::~TestNavigationThrottle() { … }
NavigationThrottle::ThrottleCheckResult
TestNavigationThrottle::WillStartRequest() { … }
NavigationThrottle::ThrottleCheckResult
TestNavigationThrottle::WillRedirectRequest() { … }
NavigationThrottle::ThrottleCheckResult
TestNavigationThrottle::WillFailRequest() { … }
NavigationThrottle::ThrottleCheckResult
TestNavigationThrottle::WillProcessResponse() { … }
NavigationThrottle::ThrottleCheckResult
TestNavigationThrottle::WillCommitWithoutUrlLoader() { … }
const char* TestNavigationThrottle::GetNameForLogging() { … }
int TestNavigationThrottle::GetCallCount(ThrottleMethod method) { … }
void TestNavigationThrottle::SetResponse(
ThrottleMethod method,
ResultSynchrony synchrony,
NavigationThrottle::ThrottleCheckResult result) { … }
void TestNavigationThrottle::SetResponseForAllMethods(
ResultSynchrony synchrony,
NavigationThrottle::ThrottleCheckResult result) { … }
void TestNavigationThrottle::SetCallback(ThrottleMethod method,
base::RepeatingClosure callback) { … }
void TestNavigationThrottle::OnWillRespond() { … }
NavigationThrottle::ThrottleCheckResult TestNavigationThrottle::ProcessMethod(
ThrottleMethod method) { … }
void TestNavigationThrottle::CancelAsynchronously(
NavigationThrottle::ThrottleCheckResult result) { … }
TestNavigationThrottle::MethodProperties::MethodProperties() { … }
TestNavigationThrottle::MethodProperties::~MethodProperties() { … }
}