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

Unified Diff: components/safe_browsing/base_resource_throttle.h

Issue 2692273006: Refactor safebrowsing StartDisplayingBlockingPage (Closed)
Patch Set: Fix method description Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
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(
« no previous file with comments | « chrome/browser/loader/safe_browsing_resource_throttle.cc ('k') | components/safe_browsing/base_resource_throttle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698