chromium/components/subresource_filter/content/browser/ad_tagging_browser_test_utils.cc

// Copyright 2021 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/browser/ad_tagging_browser_test_utils.h"

#include <string>

#include "base/check.h"
#include "base/strings/strcat.h"
#include "base/strings/stringprintf.h"
#include "base/test/bind.h"
#include "components/subresource_filter/content/browser/content_subresource_filter_throttle_manager.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/fenced_frame_test_util.h"
#include "content/public/test/test_navigation_observer.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace subresource_filter {

namespace {

RenderFrameHost;
FencedFrameTestHelper;

RenderFrameHost* CreateFrameImpl(const content::ToRenderFrameHost& adapter,
                                 const GURL& url,
                                 bool ad_script,
                                 bool is_fenced_frame) {}

}  // namespace

std::string GetUniqueFrameName() {}

RenderFrameHost* CreateSrcFrameFromAdScript(
    const content::ToRenderFrameHost& adapter,
    const GURL& url) {}

RenderFrameHost* CreateFencedFrameFromAdScript(
    const content::ToRenderFrameHost& adapter,
    const GURL& url) {}

RenderFrameHost* CreateFencedFrame(const content::ToRenderFrameHost& adapter,
                                   const GURL& url) {}

RenderFrameHost* CreateSrcFrame(const content::ToRenderFrameHost& adapter,
                                const GURL& url) {}

testing::AssertionResult EvidenceForFrameComprises(
    RenderFrameHost* frame_host,
    bool parent_is_ad,
    blink::mojom::FilterListResult filter_list_result,
    blink::mojom::FrameCreationStackEvidence created_by_ad_script) {}

testing::AssertionResult EvidenceForFrameComprises(
    RenderFrameHost* frame_host,
    bool parent_is_ad,
    blink::mojom::FilterListResult latest_filter_list_result,
    blink::mojom::FilterListResult most_restrictive_filter_list_result,
    blink::mojom::FrameCreationStackEvidence created_by_ad_script) {}

}  // namespace subresource_filter