Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: android_webview/browser/aw_safe_browsing_blocking_page.h

Issue 2863723002: WebView: create AwSafeBrowsingBlockingPage (Closed)
Patch Set: Fixing comment, fixing forward decl. Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « android_webview/browser/DEPS ('k') | android_webview/browser/aw_safe_browsing_blocking_page.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_SAFE_BROWSING_BLOCKING_PAGE_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_SAFE_BROWSING_BLOCKING_PAGE_H_
7
8 #include "components/safe_browsing/base_blocking_page.h"
9 #include "components/security_interstitials/core/safe_browsing_error_ui.h"
10
11 namespace security_interstitials {
12 struct UnsafeResource;
13 } // namespace security_interstitials
14
15 namespace android_webview {
16
17 class AwSafeBrowsingUIManager;
18
19 class AwSafeBrowsingBlockingPage : public safe_browsing::BaseBlockingPage {
20 public:
21 typedef security_interstitials::UnsafeResource UnsafeResource;
22
23 static void ShowBlockingPage(AwSafeBrowsingUIManager* ui_manager,
24 const UnsafeResource& unsafe_resource);
25
26 protected:
27 // Don't instantiate this class directly, use ShowBlockingPage instead.
28 AwSafeBrowsingBlockingPage(
29 AwSafeBrowsingUIManager* ui_manager,
30 content::WebContents* web_contents,
31 const GURL& main_frame_url,
32 const UnsafeResourceList& unsafe_resources,
33 std::unique_ptr<
34 security_interstitials::SecurityInterstitialControllerClient>
35 controller_client,
36 const SafeBrowsingErrorUI::SBErrorDisplayOptions& display_options);
37 };
38
39 } // namespace android_webview
40
41 #endif // ANDROID_WEBVIEW_BROWSER_AW_SAFE_BROWSING_BLOCKING_PAGE_H_
OLDNEW
« no previous file with comments | « android_webview/browser/DEPS ('k') | android_webview/browser/aw_safe_browsing_blocking_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698