Index: content/public/common/resource_type.h |
diff --git a/content/public/common/resource_type.h b/content/public/common/resource_type.h |
index a77787ccd3f3a168573234baf05ac6cb9f671acb..ed70039c2f4e0023056e963bc312f35616e416da 100644 |
--- a/content/public/common/resource_type.h |
+++ b/content/public/common/resource_type.h |
@@ -18,8 +18,7 @@ enum ResourceType { |
RESOURCE_TYPE_IMAGE = 4, // an image (jpg/gif/png/etc) |
RESOURCE_TYPE_FONT_RESOURCE = 5, // a font |
RESOURCE_TYPE_SUB_RESOURCE = 6, // an "other" subresource. |
- RESOURCE_TYPE_OBJECT = 7, // an object (or embed) tag for a plugin, |
- // or a resource that a plugin requested. |
+ RESOURCE_TYPE_OBJECT = 7, // an object (or embed) tag for a plugin. |
RESOURCE_TYPE_MEDIA = 8, // a media resource. |
RESOURCE_TYPE_WORKER = 9, // the main resource of a dedicated |
// worker. |
@@ -27,8 +26,10 @@ enum ResourceType { |
RESOURCE_TYPE_PREFETCH = 11, // an explicitly requested prefetch |
RESOURCE_TYPE_FAVICON = 12, // a favicon |
RESOURCE_TYPE_XHR = 13, // a XMLHttpRequest |
- RESOURCE_TYPE_PING = 14, // a ping request for <a ping> |
+ RESOURCE_TYPE_PING = 14, // a ping request for <a ping>/sendBeacon. |
RESOURCE_TYPE_SERVICE_WORKER = 15, // the main resource of a service worker. |
+ RESOURCE_TYPE_CSP_REPORT = 16, // a CSP report |
Charlie Reis
2015/12/14 20:53:23
nit: Add period to be self-consistent.
battre
2015/12/15 12:53:09
How about explaining the abbreviation in the comme
robwu
2015/12/15 13:17:25
Done.
robwu
2015/12/15 13:17:25
Done.
|
+ RESOURCE_TYPE_PLUGIN_RESOURCE = 17, // a resource that a plugin requested. |
mattm
2015/12/15 00:40:37
Update ContentResourceType in histograms.xml
robwu
2015/12/15 13:17:25
Done.
|
RESOURCE_TYPE_LAST_TYPE |
}; |