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

Unified Diff: chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector_unittest.cc

Issue 1515703005: WebRequest API: add more resource types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replace == with && 2x Created 5 years 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: chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector_unittest.cc
diff --git a/chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector_unittest.cc b/chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector_unittest.cc
index 8b1f2b573e9da45e0f5c69337bf67bc5c96c1a0d..3c3ad7d9daab4445ddcfdf1936d403ac479ce4d7 100644
--- a/chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector_unittest.cc
+++ b/chrome/browser/safe_browsing/incident_reporting/off_domain_inclusion_detector_unittest.cc
@@ -103,6 +103,7 @@ const content::ResourceType kResourceTypesObservedIfInMainFrame[] = {
content::RESOURCE_TYPE_OBJECT,
content::RESOURCE_TYPE_MEDIA,
content::RESOURCE_TYPE_XHR,
+ content::RESOURCE_TYPE_PLUGIN_RESOURCE,
};
const content::ResourceType kResourceTypesIgnored[] = {
@@ -113,6 +114,7 @@ const content::ResourceType kResourceTypesIgnored[] = {
content::RESOURCE_TYPE_FAVICON,
content::RESOURCE_TYPE_PING,
content::RESOURCE_TYPE_SERVICE_WORKER,
+ content::RESOURCE_TYPE_CSP_REPORT,
};
static_assert(

Powered by Google App Engine
This is Rietveld 408576698