OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_SAFE_BROWSING_BLOCKING_PAGE_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_SAFE_BROWSING_BLOCKING_PAGE_H_ |
6 #define ANDROID_WEBVIEW_BROWSER_AW_SAFE_BROWSING_BLOCKING_PAGE_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_AW_SAFE_BROWSING_BLOCKING_PAGE_H_ |
7 | 7 |
8 #include "components/safe_browsing/base_blocking_page.h" | 8 #include "components/safe_browsing/base_blocking_page.h" |
9 #include "components/security_interstitials/core/base_safe_browsing_error_ui.h" | 9 #include "components/security_interstitials/core/base_safe_browsing_error_ui.h" |
10 | 10 |
(...skipping 15 matching lines...) Expand all Loading... |
26 protected: | 26 protected: |
27 // Don't instantiate this class directly, use ShowBlockingPage instead. | 27 // Don't instantiate this class directly, use ShowBlockingPage instead. |
28 AwSafeBrowsingBlockingPage( | 28 AwSafeBrowsingBlockingPage( |
29 AwSafeBrowsingUIManager* ui_manager, | 29 AwSafeBrowsingUIManager* ui_manager, |
30 content::WebContents* web_contents, | 30 content::WebContents* web_contents, |
31 const GURL& main_frame_url, | 31 const GURL& main_frame_url, |
32 const UnsafeResourceList& unsafe_resources, | 32 const UnsafeResourceList& unsafe_resources, |
33 std::unique_ptr< | 33 std::unique_ptr< |
34 security_interstitials::SecurityInterstitialControllerClient> | 34 security_interstitials::SecurityInterstitialControllerClient> |
35 controller_client, | 35 controller_client, |
36 const BaseSafeBrowsingErrorUI::SBErrorDisplayOptions& display_options); | 36 const BaseSafeBrowsingErrorUI::SBErrorDisplayOptions& display_options, |
| 37 ErrorUiType errorUiType); |
37 }; | 38 }; |
38 | 39 |
39 } // namespace android_webview | 40 } // namespace android_webview |
40 | 41 |
41 #endif // ANDROID_WEBVIEW_BROWSER_AW_SAFE_BROWSING_BLOCKING_PAGE_H_ | 42 #endif // ANDROID_WEBVIEW_BROWSER_AW_SAFE_BROWSING_BLOCKING_PAGE_H_ |
OLD | NEW |