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

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

Issue 2022783002: Skeleton of the Safe Browsing Subresource Filter. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Implement RenderFrameObserver::OnDestruct introduced by rebase. Created 4 years, 6 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/InspectorNetworkAgent.cpp
diff --git a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
index 02cb84c138654f43871d03ae88a6befa808138b9..01c0b233d3b4156bfa64ac6f750f3c240969312a 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.cpp
+++ b/third_party/WebKit/Source/core/inspector/InspectorNetworkAgent.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