Index: Source/core/inspector/InspectorResourceAgent.h |
diff --git a/Source/core/inspector/InspectorResourceAgent.h b/Source/core/inspector/InspectorResourceAgent.h |
index f2fe916fe4e8c58b43e7c6d3f03d1dee26dfe145..fdba2ed68fdd04a0ff31d9c3e5bd4c5c84ba650e 100644 |
--- a/Source/core/inspector/InspectorResourceAgent.h |
+++ b/Source/core/inspector/InspectorResourceAgent.h |
@@ -135,6 +135,8 @@ public: |
void setUserAgentOverride(ErrorString*, const String& userAgent) override; |
void setExtraHTTPHeaders(ErrorString*, const RefPtr<JSONObject>&) override; |
void getResponseBody(ErrorString*, const String& requestId, PassRefPtrWillBeRawPtr<GetResponseBodyCallback>) override; |
+ void addBlockedURL(ErrorString*, const String& url) override; |
+ void removeBlockedURL(ErrorString*, const String& url) override; |
void replayXHR(ErrorString*, const String& requestId) override; |
void setMonitoringXHREnabled(ErrorString*, bool) override; |
@@ -149,6 +151,7 @@ public: |
// Called from other agents. |
void setHostId(const String&); |
bool fetchResourceContent(Document*, const KURL&, String* content, bool* base64Encoded); |
+ bool shouldBlockRequest(const ResourceRequest&); |
private: |
explicit InspectorResourceAgent(InspectorPageAgent*); |