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

Unified Diff: Source/platform/network/ResourceRequest.h

Issue 1315043008: [DevTools] Show blocked requests in Network panel. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebased Created 5 years, 3 months 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
« no previous file with comments | « Source/devtools/protocol.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/network/ResourceRequest.h
diff --git a/Source/platform/network/ResourceRequest.h b/Source/platform/network/ResourceRequest.h
index 824ab21759c72adaa25c6ab6d627f6f719723fde..f3bf4094633510182c1a36c4afd33d7c2ea063ef 100644
--- a/Source/platform/network/ResourceRequest.h
+++ b/Source/platform/network/ResourceRequest.h
@@ -48,6 +48,15 @@ enum ResourceRequestCachePolicy {
ReloadBypassingCache, // end-to-end reload
};
+enum ResourceRequestBlockedReason {
+ ResourceRequestBlockedReasonCSP,
+ ResourceRequestBlockedReasonMixedContent,
+ ResourceRequestBlockedReasonOrigin,
+ ResourceRequestBlockedReasonInspector,
+ ResourceRequestBlockedReasonOther,
+ ResourceRequestBlockedReasonNone
+};
+
enum InputToLoadPerfMetricReportPolicy {
NoReport, // Don't report metrics for this ResourceRequest.
ReportLink, // Report metrics for this request as initiated by a link click.
« no previous file with comments | « Source/devtools/protocol.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698