#include "components/security_interstitials/content/ssl_blocking_page.h"
#include <memory>
#include <utility>
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "base/strings/string_number_conversions.h"
#include "base/time/time.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/content/security_interstitial_page.h"
#include "components/security_interstitials/core/controller_client.h"
#include "components/security_interstitials/core/ssl_error_options_mask.h"
#include "components/security_interstitials/core/ssl_error_ui.h"
#include "content/public/browser/navigation_entry.h"
#include "content/public/browser/render_process_host.h"
#include "content/public/browser/ssl_status.h"
#include "net/base/net_errors.h"
TimeTicks;
NavigationEntry;
SSLErrorUI;
const security_interstitials::SecurityInterstitialPage::TypeID
SSLBlockingPage::kTypeForTesting = …;
security_interstitials::SecurityInterstitialPage::TypeID
SSLBlockingPage::GetTypeForTesting() { … }
SSLBlockingPage::~SSLBlockingPage() = default;
void SSLBlockingPage::PopulateInterstitialStrings(
base::Value::Dict& load_time_data) { … }
SSLBlockingPage::SSLBlockingPage(
content::WebContents* web_contents,
int cert_error,
const net::SSLInfo& ssl_info,
const GURL& request_url,
int options_mask,
const base::Time& time_triggered,
const GURL& support_url,
bool overridable,
bool can_show_enhanced_protection_message,
std::unique_ptr<
security_interstitials::SecurityInterstitialControllerClient>
controller_client)
: … { … }
void SSLBlockingPage::CommandReceived(const std::string& command) { … }
bool SSLBlockingPage::IsOverridable(int options_mask) { … }