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

Unified Diff: content/browser/loader/resource_dispatcher_host_impl.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: content/browser/loader/resource_dispatcher_host_impl.cc
diff --git a/content/browser/loader/resource_dispatcher_host_impl.cc b/content/browser/loader/resource_dispatcher_host_impl.cc
index c68198438ff841e7cfc0d743b8dd0ca27cde06a9..27f61dc9e415e66f67cccb41b0b2292b3e46e86e 100644
--- a/content/browser/loader/resource_dispatcher_host_impl.cc
+++ b/content/browser/loader/resource_dispatcher_host_impl.cc
@@ -202,6 +202,7 @@ bool IsDetachableResourceType(ResourceType type) {
switch (type) {
case RESOURCE_TYPE_PREFETCH:
case RESOURCE_TYPE_PING:
+ case RESOURCE_TYPE_CSP_REPORT:
return true;
default:
return false;
« no previous file with comments | « content/browser/loader/mime_type_resource_handler_unittest.cc ('k') | content/child/site_isolation_stats_gatherer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698