chromium/chrome/browser/enterprise/connectors/interstitials/enterprise_block_page.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/enterprise/connectors/interstitials/enterprise_block_page.h"

#include <utility>

#include "base/strings/strcat.h"
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/enterprise/connectors/interstitials/enterprise_interstitial_util.h"
#include "components/grit/components_resources.h"
#include "components/safe_browsing/core/common/features.h"
#include "components/safe_browsing/core/common/proto/realtimeapi.pb.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 "components/security_interstitials/core/urls.h"
#include "components/strings/grit/components_strings.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/web_contents.h"
#include "net/base/net_errors.h"
#include "ui/base/l10n/l10n_util.h"

MetricsHelper;

// static
const security_interstitials::SecurityInterstitialPage::TypeID
    EnterpriseBlockPage::kTypeForTesting =;

EnterpriseBlockPage::EnterpriseBlockPage(
    content::WebContents* web_contents,
    const GURL& request_url,
    const safe_browsing::SafeBrowsingBlockingPage::UnsafeResourceList&
        unsafe_resources,
    std::unique_ptr<
        security_interstitials::SecurityInterstitialControllerClient>
        controller_client)
    :{}

EnterpriseBlockPage::~EnterpriseBlockPage() = default;

security_interstitials::SecurityInterstitialPage::TypeID
EnterpriseBlockPage::GetTypeForTesting() {}

void EnterpriseBlockPage::PopulateInterstitialStrings(
    base::Value::Dict& load_time_data) {}

void EnterpriseBlockPage::OnInterstitialClosing() {}

void EnterpriseBlockPage::CommandReceived(const std::string& command) {}

int EnterpriseBlockPage::GetHTMLTemplateId() {}

std::string EnterpriseBlockPage::GetCustomMessageForTesting() {}

void EnterpriseBlockPage::PopulateStringsForSharedHTML(
    base::Value::Dict& load_time_data) {}