#include "content/test/task_runner_deferring_throttle.h"
#include "base/functional/callback_helpers.h"
#include "base/memory/ptr_util.h"
namespace content {
TaskRunnerDeferringThrottle::TaskRunnerDeferringThrottle(
scoped_refptr<base::TaskRunner> task_runner,
bool defer_start,
bool defer_redirect,
bool defer_response,
NavigationHandle* handle)
: … { … }
TaskRunnerDeferringThrottle::~TaskRunnerDeferringThrottle() = default;
std::unique_ptr<NavigationThrottle> TaskRunnerDeferringThrottle::Create(
scoped_refptr<base::TaskRunner> task_runner,
bool defer_start,
bool defer_redirect,
bool defer_response,
NavigationHandle* handle) { … }
NavigationThrottle::ThrottleCheckResult
TaskRunnerDeferringThrottle::WillStartRequest() { … }
NavigationThrottle::ThrottleCheckResult
TaskRunnerDeferringThrottle::WillRedirectRequest() { … }
NavigationThrottle::ThrottleCheckResult
TaskRunnerDeferringThrottle::WillProcessResponse() { … }
const char* TaskRunnerDeferringThrottle::GetNameForLogging() { … }
void TaskRunnerDeferringThrottle::AsyncResume() { … }
NavigationThrottle::ThrottleCheckResult
TaskRunnerDeferringThrottle::DeferToPostTask() { … }
}