Index: components/safe_browsing/base_resource_throttle.h |
diff --git a/components/safe_browsing/base_resource_throttle.h b/components/safe_browsing/base_resource_throttle.h |
index a14fb17dc76fc5504cfdfa49fab7c2a13d27ced4..adb4d3d0da510d9e632c82168b10a3c3ae74a8fc 100644 |
--- a/components/safe_browsing/base_resource_throttle.h |
+++ b/components/safe_browsing/base_resource_throttle.h |
@@ -86,6 +86,12 @@ class BaseResourceThrottle |
~BaseResourceThrottle() override; |
+ // If our blocked resource is the main frame, this calls |
+ // ContentSubresourceFilterDriverFactory's |
+ // OnMainResourceMatchedSafeBrowsingBlacklist method. |
+ static void NotifySubresourceFilterOfBlockedResource( |
+ const security_interstitials::UnsafeResource& resource); |
+ |
// Does nothing in the base class. Override this to destroy prerender contents |
// in chrome. |
virtual void MaybeDestroyPrerenderContents( |