#include "chrome/browser/interstitials/security_interstitial_page_test_utils.h"
#include "base/strings/stringprintf.h"
#include "chrome/common/chrome_features.h"
#include "components/security_interstitials/content/security_interstitial_page.h"
#include "components/security_interstitials/content/security_interstitial_tab_helper.h"
#include "components/security_interstitials/core/controller_client.h"
#include "content/public/browser/render_frame_host.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/browser_test_utils.h"
namespace chrome_browser_interstitials {
bool IsInterstitialDisplayingText(content::RenderFrameHost* interstitial_frame,
const std::string& text) { … }
bool InterstitialHasProceedLink(content::RenderFrameHost* interstitial_frame) { … }
bool IsShowingInterstitial(content::WebContents* tab) { … }
bool IsShowingCaptivePortalInterstitial(content::WebContents* tab) { … }
bool IsShowingSSLInterstitial(content::WebContents* tab) { … }
bool IsShowingMITMInterstitial(content::WebContents* tab) { … }
bool IsShowingBadClockInterstitial(content::WebContents* tab) { … }
bool IsShowingBlockedInterceptionInterstitial(content::WebContents* tab) { … }
bool IsShowingHttpsFirstModeInterstitial(content::WebContents* tab) { … }
HFMInterstitialType GetHFMInterstitialType(content::WebContents* tab) { … }
}