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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp

Issue 2022783002: Skeleton of the Safe Browsing Subresource Filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 7 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
Index: third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp
index 784cdc0710f803129a064a1df8253d521b485a09..1a92fff4e80c860cf45646837ecd6bf10017a3d6 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorResourceAgent.cpp
@@ -233,6 +233,8 @@ String buildBlockedReason(ResourceRequestBlockedReason reason)
return protocol::Network::BlockedReasonEnum::Origin;
case ResourceRequestBlockedReasonInspector:
return protocol::Network::BlockedReasonEnum::Inspector;
+ case ResourceRequestBlockedReasonSubresourceFilter:
+ return protocol::Network::BlockedReasonEnum::SubresourceFilter;
case ResourceRequestBlockedReasonOther:
return protocol::Network::BlockedReasonEnum::Other;
case ResourceRequestBlockedReasonNone:

Powered by Google App Engine
This is Rietveld 408576698