#include "components/subresource_filter/content/shared/common/subresource_filter_utils.h"
#include "base/check.h"
#include "content/public/browser/navigation_handle.h"
#include "content/public/browser/page.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/url_utils.h"
#include "url/gurl.h"
namespace subresource_filter {
bool ShouldInheritActivation(const GURL& url) { … }
bool ShouldInheritOpenerActivation(content::NavigationHandle* navigation_handle,
content::RenderFrameHost* frame_host) { … }
bool ShouldInheritParentActivation(
content::NavigationHandle* navigation_handle) { … }
bool IsInSubresourceFilterRoot(content::NavigationHandle* navigation_handle) { … }
bool IsSubresourceFilterRoot(content::RenderFrameHost* rfh) { … }
content::Page& GetSubresourceFilterRootPage(content::RenderFrameHost* rfh) { … }
}