chromium/components/subresource_filter/content/shared/browser/child_frame_navigation_filtering_throttle.cc

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

#include "components/subresource_filter/content/shared/browser/child_frame_navigation_filtering_throttle.h"

#include <optional>
#include <sstream>
#include <utility>

#include "base/check.h"
#include "base/check_op.h"
#include "base/debug/alias.h"
#include "base/debug/dump_without_crashing.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/metrics/histogram_macros.h"
#include "base/not_fatal_until.h"
#include "base/strings/stringprintf.h"
#include "components/subresource_filter/content/shared/common/subresource_filter_utils.h"
#include "components/subresource_filter/core/browser/subresource_filter_constants.h"
#include "components/subresource_filter/core/common/common_features.h"
#include "components/subresource_filter/core/common/time_measurements.h"
#include "content/public/browser/global_routing_id.h"
#include "content/public/browser/navigation_handle.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/web_contents.h"
#include "third_party/blink/public/mojom/devtools/console_message.mojom.h"

namespace subresource_filter {

ChildFrameNavigationFilteringThrottle::ChildFrameNavigationFilteringThrottle(
    content::NavigationHandle* handle,
    AsyncDocumentSubresourceFilter* parent_frame_filter,
    bool alias_check_enabled,
    base::RepeatingCallback<std::string(const GURL& url)>
        disallow_message_callback)
    :{}

ChildFrameNavigationFilteringThrottle::
    ~ChildFrameNavigationFilteringThrottle() = default;

content::NavigationThrottle::ThrottleCheckResult
ChildFrameNavigationFilteringThrottle::WillStartRequest() {}

content::NavigationThrottle::ThrottleCheckResult
ChildFrameNavigationFilteringThrottle::WillRedirectRequest() {}

content::NavigationThrottle::ThrottleCheckResult
ChildFrameNavigationFilteringThrottle::WillProcessResponse() {}

void ChildFrameNavigationFilteringThrottle::HandleDisallowedLoad() {}

content::NavigationThrottle::ThrottleCheckResult
ChildFrameNavigationFilteringThrottle::MaybeDeferToCalculateLoadPolicy() {}

void ChildFrameNavigationFilteringThrottle::OnCalculatedLoadPolicy(
    LoadPolicy policy) {}

void ChildFrameNavigationFilteringThrottle::
    OnCalculatedLoadPoliciesFromAliasUrls(std::vector<LoadPolicy> policies) {}

void ChildFrameNavigationFilteringThrottle::DeferStart(DeferStage stage) {}

void ChildFrameNavigationFilteringThrottle::UpdateDeferInfo() {}

void ChildFrameNavigationFilteringThrottle::CancelNavigation() {}

void ChildFrameNavigationFilteringThrottle::ResumeNavigation() {}

}  // namespace subresource_filter