Index: Source/core/inspector/InspectorResourceAgent.h |
diff --git a/Source/core/inspector/InspectorResourceAgent.h b/Source/core/inspector/InspectorResourceAgent.h |
index 1a4547744dd0c610cd34ecea997f3422750ac9a1..e7a814e4249a543101dca46af9d89de89574c470 100644 |
--- a/Source/core/inspector/InspectorResourceAgent.h |
+++ b/Source/core/inspector/InspectorResourceAgent.h |
@@ -35,6 +35,7 @@ |
#include "core/CoreExport.h" |
#include "core/InspectorFrontend.h" |
#include "core/inspector/InspectorBaseAgent.h" |
+#include "core/inspector/InspectorInstrumentation.h" |
#include "core/inspector/InspectorPageAgent.h" |
#include "platform/Timer.h" |
#include "platform/heap/Handle.h" |
@@ -83,6 +84,7 @@ public: |
DECLARE_VIRTUAL_TRACE(); |
// Called from instrumentation. |
+ void didBlockRequest(LocalFrame*, const ResourceRequest&, DocumentLoader*, const FetchInitiatorInfo&, InspectorRequestBlockedReason); |
void willSendRequest(LocalFrame*, unsigned long identifier, DocumentLoader*, ResourceRequest&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo&); |
void markResourceAsCached(unsigned long identifier); |
void didReceiveResourceResponse(LocalFrame*, unsigned long identifier, DocumentLoader*, const ResourceResponse&, ResourceLoader*); |
@@ -151,7 +153,7 @@ public: |
// Called from other agents. |
void setHostId(const String&); |
bool fetchResourceContent(Document*, const KURL&, String* content, bool* base64Encoded); |
- bool shouldBlockRequest(LocalFrame*, const ResourceRequest&, DocumentLoader*, const FetchInitiatorInfo&); |
+ bool shouldBlockRequest(const ResourceRequest&); |
private: |
explicit InspectorResourceAgent(InspectorPageAgent*); |