| Index: components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h
|
| diff --git a/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h b/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h
|
| index 37e994ad991b996295c7070057f8a050faaefda3..84f1f37c361a12c8359a5c53a463a057bf601191 100644
|
| --- a/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h
|
| +++ b/components/subresource_filter/content/browser/content_subresource_filter_driver_factory.h
|
| @@ -13,6 +13,7 @@
|
|
|
| #include "base/macros.h"
|
| #include "base/supports_user_data.h"
|
| +#include "components/safe_browsing_db/util.h"
|
| #include "content/public/browser/web_contents_observer.h"
|
| #include "url/gurl.h"
|
|
|
| @@ -21,10 +22,6 @@ class WebContents;
|
| class RenderFrameHost;
|
| } // namespace content
|
|
|
| -namespace safe_browsing {
|
| -enum class ThreatPatternType;
|
| -}
|
| -
|
| namespace subresource_filter {
|
|
|
| using HostSet = std::set<std::string>;
|
| @@ -78,7 +75,8 @@ class ContentSubresourceFilterDriverFactory
|
| void OnMainResourceMatchedSafeBrowsingBlacklist(
|
| const GURL& url,
|
| const std::vector<GURL>& redirect_urls,
|
| - safe_browsing::ThreatPatternType threat_type);
|
| + safe_browsing::SBThreatType threat_type,
|
| + safe_browsing::ThreatPatternType threat_type_metadata);
|
|
|
| // Reloads the page and inserts the url to the whitelist.
|
| void OnReloadRequested();
|
|
|