#include "components/security_interstitials/content/security_interstitial_page.h"
#include <utility>
#include "base/i18n/rtl.h"
#include "base/metrics/histogram_macros.h"
#include "base/values.h"
#include "components/grit/components_resources.h"
#include "components/prefs/pref_service.h"
#include "components/safe_browsing/core/common/safe_browsing_prefs.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/page_navigator.h"
#include "content/public/browser/web_contents.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/base/webui/web_ui_util.h"
namespace security_interstitials {
SecurityInterstitialPage::SecurityInterstitialPage(
content::WebContents* web_contents,
const GURL& request_url,
std::unique_ptr<SecurityInterstitialControllerClient> controller)
: … { … }
SecurityInterstitialPage::~SecurityInterstitialPage() { … }
content::WebContents* SecurityInterstitialPage::web_contents() const { … }
GURL SecurityInterstitialPage::request_url() const { … }
void SecurityInterstitialPage::OnInterstitialShown() { … }
void SecurityInterstitialPage::DontCreateViewForTesting() { … }
bool SecurityInterstitialPage::ShouldDisplayURL() const { … }
SecurityInterstitialPage::TypeID SecurityInterstitialPage::GetTypeForTesting() { … }
std::string SecurityInterstitialPage::GetHTMLContents() { … }
SecurityInterstitialControllerClient* SecurityInterstitialPage::controller()
const { … }
void SecurityInterstitialPage::SetUpMetrics() { … }
std::u16string SecurityInterstitialPage::GetFormattedHostName() const { … }
int SecurityInterstitialPage::GetHTMLTemplateId() { … }
}