Index: content/public/browser/resource_dispatcher_host_delegate.h |
diff --git a/content/public/browser/resource_dispatcher_host_delegate.h b/content/public/browser/resource_dispatcher_host_delegate.h |
index 219b00330e13a53d3c20105f2933d5495caafcb2..e3ba25bc4eda19c4039d1a60c912b44b6e2742ed 100644 |
--- a/content/public/browser/resource_dispatcher_host_delegate.h |
+++ b/content/public/browser/resource_dispatcher_host_delegate.h |
@@ -104,6 +104,11 @@ class CONTENT_EXPORT ResourceDispatcherHostDelegate { |
GURL* origin, |
std::string* payload); |
+ // Returns if the response should never sent to the renderer. Note that the |
+ // request is still allowed to complete. |
+ virtual bool ShouldSinkResponse(net::URLRequest* request, |
+ ResourceType resource_type); |
+ |
// Informs the delegate that a Stream was created. The Stream can be read from |
// the blob URL of the Stream, but can only be read once. |
virtual void OnStreamCreated(net::URLRequest* request, |