Index: chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector.cc |
diff --git a/chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector.cc b/chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector.cc |
index 98f29d450acecb21efcf739b213a3687e21cfda0..82ed2cd2477380fa5e028c115b484c8bc1402a82 100644 |
--- a/chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector.cc |
+++ b/chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector.cc |
@@ -145,6 +145,7 @@ bool OffDomainInclusionDetector::ShouldAnalyzeRequest( |
case content::RESOURCE_TYPE_OBJECT: |
case content::RESOURCE_TYPE_MEDIA: |
case content::RESOURCE_TYPE_XHR: |
+ case content::RESOURCE_TYPE_PLUGIN_RESOURCE: |
// Types above are to be analyzed for off-domain inclusion if they are |
// loaded as part of the main frame. |
return request_info->IsMainFrame(); |
@@ -154,6 +155,7 @@ bool OffDomainInclusionDetector::ShouldAnalyzeRequest( |
case content::RESOURCE_TYPE_FAVICON: |
case content::RESOURCE_TYPE_PING: |
case content::RESOURCE_TYPE_SERVICE_WORKER: |
+ case content::RESOURCE_TYPE_CSP_REPORT: |
// Types above are not to be analyzed for off-domain inclusion. |
return false; |
case content::RESOURCE_TYPE_LAST_TYPE: |