#include "components/security_interstitials/core/unsafe_resource.h"
#include "components/safe_browsing/core/browser/db/util.h"
namespace security_interstitials {
constexpr UnsafeResource::RenderProcessId UnsafeResource::kNoRenderProcessId;
constexpr UnsafeResource::FrameTreeNodeId UnsafeResource::kNoFrameTreeNodeId;
UnsafeResource::UrlCheckResult::UrlCheckResult(
bool proceed,
bool showed_interstitial,
bool has_post_commit_interstitial_skipped)
: … { … }
UnsafeResource::UnsafeResource()
: … { … }
UnsafeResource::UnsafeResource(const UnsafeResource& other) = default;
UnsafeResource::~UnsafeResource() = default;
bool UnsafeResource::IsMainPageLoadPendingWithSyncCheck() const { … }
void UnsafeResource::DispatchCallback(
const base::Location& from_here,
bool proceed,
bool showed_interstitial,
bool has_post_commit_interstitial_skipped) const { … }
}