#include "chrome/browser/lookalikes/lookalike_url_blocking_page.h"
#include <utility>
#include "chrome/common/webui_url_constants.h"
#include "components/grit/components_resources.h"
#include "components/lookalikes/core/lookalike_url_ui_util.h"
#include "components/lookalikes/core/lookalike_url_util.h"
#include "components/security_interstitials/content/security_interstitial_controller_client.h"
#include "components/security_interstitials/core/common_string_util.h"
#include "components/security_interstitials/core/metrics_helper.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/web_contents.h"
#include "net/base/net_errors.h"
LookalikeUrlBlockingPageUserAction;
LookalikeUrlMatchType;
MetricsHelper;
const security_interstitials::SecurityInterstitialPage::TypeID
LookalikeUrlBlockingPage::kTypeForTesting = …;
LookalikeUrlBlockingPage::LookalikeUrlBlockingPage(
content::WebContents* web_contents,
const GURL& safe_url,
const GURL& request_url,
ukm::SourceId source_id,
LookalikeUrlMatchType match_type,
bool is_signed_exchange,
bool triggered_by_initial_url,
std::unique_ptr<
security_interstitials::SecurityInterstitialControllerClient>
controller_client)
: … { … }
LookalikeUrlBlockingPage::~LookalikeUrlBlockingPage() = default;
security_interstitials::SecurityInterstitialPage::TypeID
LookalikeUrlBlockingPage::GetTypeForTesting() { … }
void LookalikeUrlBlockingPage::PopulateInterstitialStrings(
base::Value::Dict& load_time_data) { … }
void LookalikeUrlBlockingPage::OnInterstitialClosing() { … }
bool LookalikeUrlBlockingPage::ShouldDisplayURL() const { … }
void LookalikeUrlBlockingPage::CommandReceived(const std::string& command) { … }
int LookalikeUrlBlockingPage::GetHTMLTemplateId() { … }