chromium/content/public/browser/navigation_throttle.cc

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/public/browser/navigation_throttle.h"

#include "content/browser/renderer_host/navigation_request.h"

namespace content {

namespace {

net::Error DefaultNetErrorCode(NavigationThrottle::ThrottleAction action) {}

}  // namespace

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) {}

}  // namespace content