| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |