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

Side by Side Diff: android_webview/browser/aw_safe_browsing_ui_manager.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
OLDNEW
1 // Copyright (c) 2017 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 // The Safe Browsing service is responsible for downloading anti-phishing and 5 // The Safe Browsing service is responsible for downloading anti-phishing and
6 // anti-malware tables and checking urls against them. This is android_webview 6 // anti-malware tables and checking urls against them. This is android_webview
7 // specific ui_manager. 7 // specific ui_manager.
8 8
9 #ifndef ANDROID_WEBVIEW_BROWSER_AW_SAFE_BROWSING_UI_MANAGER_H_ 9 #ifndef ANDROID_WEBVIEW_BROWSER_AW_SAFE_BROWSING_UI_MANAGER_H_
10 #define ANDROID_WEBVIEW_BROWSER_AW_SAFE_BROWSING_UI_MANAGER_H_ 10 #define ANDROID_WEBVIEW_BROWSER_AW_SAFE_BROWSING_UI_MANAGER_H_
(...skipping 14 matching lines...) Expand all
25 }; 25 };
26 26
27 // Construction needs to happen on the UI thread. 27 // Construction needs to happen on the UI thread.
28 AwSafeBrowsingUIManager(); 28 AwSafeBrowsingUIManager();
29 29
30 void DisplayBlockingPage(const UnsafeResource& resource) override; 30 void DisplayBlockingPage(const UnsafeResource& resource) override;
31 31
32 protected: 32 protected:
33 ~AwSafeBrowsingUIManager() override; 33 ~AwSafeBrowsingUIManager() override;
34 34
35 void ShowBlockingPageForResource(const UnsafeResource& resource) override;
36
35 private: 37 private:
36 DISALLOW_COPY_AND_ASSIGN(AwSafeBrowsingUIManager); 38 DISALLOW_COPY_AND_ASSIGN(AwSafeBrowsingUIManager);
37 }; 39 };
38 40
39 } // namespace android_webview 41 } // namespace android_webview
40 42
41 #endif // ANDROID_WEBVIEW_BROWSER_AW_SAFE_BROWSING_UI_MANAGER_H_ 43 #endif // ANDROID_WEBVIEW_BROWSER_AW_SAFE_BROWSING_UI_MANAGER_H_
OLDNEW
« no previous file with comments | « android_webview/browser/aw_safe_browsing_blocking_page.cc ('k') | android_webview/browser/aw_safe_browsing_ui_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698