| Index: android_webview/browser/aw_safe_browsing_ui_manager.h
|
| diff --git a/android_webview/browser/aw_safe_browsing_ui_manager.h b/android_webview/browser/aw_safe_browsing_ui_manager.h
|
| index f1fc5357c6b6864d9ad748c4874fceace3a4b902..79873c600ac10dc8b23ad22deac5bff6063e0b99 100644
|
| --- a/android_webview/browser/aw_safe_browsing_ui_manager.h
|
| +++ b/android_webview/browser/aw_safe_browsing_ui_manager.h
|
| @@ -20,8 +20,11 @@ class AwSafeBrowsingUIManager : public safe_browsing::BaseUIManager {
|
| public:
|
| static UIManagerClient* FromWebContents(content::WebContents* web_contents);
|
|
|
| - // Whether this web contents can show an interstitial
|
| - virtual bool CanShowBigInterstitial() = 0;
|
| + // Whether this web contents can show any sort of interstitial
|
| + virtual bool CanShowInterstitial() = 0;
|
| +
|
| + // Returns the appropriate BaseBlockingPage::ErrorUiType
|
| + virtual int GetErrorUiType() = 0;
|
| };
|
|
|
| // Construction needs to happen on the UI thread.
|
| @@ -29,6 +32,9 @@ class AwSafeBrowsingUIManager : public safe_browsing::BaseUIManager {
|
|
|
| void DisplayBlockingPage(const UnsafeResource& resource) override;
|
|
|
| + // Gets the correct ErrorUiType for the web contents
|
| + int GetErrorUiType(const UnsafeResource& resource) const;
|
| +
|
| protected:
|
| ~AwSafeBrowsingUIManager() override;
|
|
|
|
|