LEFT | RIGHT |
1 /* | 1 /* |
2 * Copyright (C) 2018 Google LLC. All rights reserved. | 2 * Copyright (C) 2018 Google LLC. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 #import "config.h" | 26 #import "config.h" |
27 #import "SafeBrowsingController.h" | 27 #import "SafeBrowsingController.h" |
28 | 28 |
29 #if WK_API_ENABLED | 29 #if WK_API_ENABLED |
30 | 30 |
31 #import "APINavigationAction.h" | 31 #import "APINavigationAction.h" |
32 #import "SafeBrowsingSPI.h" | 32 #import "SafeBrowsingSPI.h" |
33 #import "WKNavigationActionInternal.h" | 33 #import "WKNavigationActionInternal.h" |
34 #import "WKPreferences.h" | 34 #import "WKPreferences.h" |
| 35 #import "WKWebViewConfiguration.h" |
35 #import "WKWebViewInternal.h" | 36 #import "WKWebViewInternal.h" |
36 #import "WKWebViewConfiguration.h" | |
37 #import "WebFramePolicyListenerProxy.h" | 37 #import "WebFramePolicyListenerProxy.h" |
38 #import "WebPageProxy.h" | 38 #import "WebPageProxy.h" |
39 | 39 |
40 namespace WebKit { | 40 namespace WebKit { |
41 | 41 |
42 const char* SafeBrowsingController::s_warningPageUrl = "file:///SafeBrowsing"; | 42 const char* SafeBrowsingController::s_warningPageUrl = "file:///SafeBrowsing"; |
43 | 43 |
44 SafeBrowsingController::SafeBrowsingController(WKWebView *webView) | 44 SafeBrowsingController::SafeBrowsingController(WKWebView *webView) |
45 : m_webView(webView) | 45 : m_webView(webView) |
46 { | 46 { |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 break; | 195 break; |
196 default: | 196 default: |
197 ASSERT_NOT_REACHED(); | 197 ASSERT_NOT_REACHED(); |
198 } | 198 } |
199 m_checks.remove(&check); | 199 m_checks.remove(&check); |
200 } | 200 } |
201 | 201 |
202 } // namespace WebKit | 202 } // namespace WebKit |
203 | 203 |
204 #endif // WK_API_ENABLED | 204 #endif // WK_API_ENABLED |
LEFT | RIGHT |