| Index: chrome/browser/ssl/ssl_error_handler.h
|
| diff --git a/chrome/browser/ssl/ssl_error_handler.h b/chrome/browser/ssl/ssl_error_handler.h
|
| index 4679f4ac1b3cddfa76460d7a767a9bfd26a40a8f..c069b47a55627c86cd31989a81b75e77b4c5de4d 100644
|
| --- a/chrome/browser/ssl/ssl_error_handler.h
|
| +++ b/chrome/browser/ssl/ssl_error_handler.h
|
| @@ -23,6 +23,8 @@ class RenderViewHost;
|
| class WebContents;
|
| }
|
|
|
| +class SafeBrowsingUIManager;
|
| +
|
| // This class is responsible for deciding whether to show an SSL warning or a
|
| // captive portal error page. It makes this decision by delaying the display of
|
| // SSL interstitial for a few seconds (2 by default), and waiting for a captive
|
| @@ -51,6 +53,7 @@ class SSLErrorHandler : public content::WebContentsUserData<SSLErrorHandler>,
|
| const net::SSLInfo& ssl_info,
|
| const GURL& request_url,
|
| int options_mask,
|
| + SafeBrowsingUIManager* safe_browsing_ui_manager,
|
| const base::Callback<void(bool)>& callback);
|
|
|
| static void SetInterstitialDelayTypeForTest(InterstitialDelayType delay);
|
| @@ -65,6 +68,7 @@ class SSLErrorHandler : public content::WebContentsUserData<SSLErrorHandler>,
|
| const net::SSLInfo& ssl_info,
|
| const GURL& request_url,
|
| int options_mask,
|
| + SafeBrowsingUIManager* safe_browsing_ui_manager,
|
| const base::Callback<void(bool)>& callback);
|
|
|
| ~SSLErrorHandler() override;
|
| @@ -108,6 +112,8 @@ class SSLErrorHandler : public content::WebContentsUserData<SSLErrorHandler>,
|
| content::NotificationRegistrar registrar_;
|
| base::OneShotTimer<SSLErrorHandler> timer_;
|
|
|
| + SafeBrowsingUIManager* safe_browsing_ui_manager_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(SSLErrorHandler);
|
| };
|
|
|
|
|