#ifndef COMPONENTS_SUBRESOURCE_FILTER_CONTENT_BROWSER_AD_TAGGING_BROWSER_TEST_UTILS_H_
#define COMPONENTS_SUBRESOURCE_FILTER_CONTENT_BROWSER_AD_TAGGING_BROWSER_TEST_UTILS_H_
#include <string>
#include "third_party/blink/public/common/frame/frame_ad_evidence.h"
#include "url/gurl.h"
namespace content {
class RenderFrameHost;
class ToRenderFrameHost;
}
namespace testing {
class AssertionResult;
}
namespace subresource_filter {
std::string GetUniqueFrameName();
content::RenderFrameHost* CreateSrcFrameFromAdScript(
const content::ToRenderFrameHost& adapter,
const GURL& url);
content::RenderFrameHost* CreateFencedFrameFromAdScript(
const content::ToRenderFrameHost& adapter,
const GURL& url);
content::RenderFrameHost* CreateSrcFrame(
const content::ToRenderFrameHost& adapter,
const GURL& url);
content::RenderFrameHost* CreateFencedFrame(
const content::ToRenderFrameHost& adapter,
const GURL& url);
::testing::AssertionResult EvidenceForFrameComprises(
content::RenderFrameHost* frame_host,
bool parent_is_ad,
blink::mojom::FilterListResult filter_list_result,
blink::mojom::FrameCreationStackEvidence created_by_ad_script);
::testing::AssertionResult EvidenceForFrameComprises(
content::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);
}
#endif