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

Unified Diff: Source/core/inspector/InspectorResourceAgent.h

Issue 1309033003: [DevTools] Show blocked requests in network log. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tyo Created 5 years, 4 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: Source/core/inspector/InspectorResourceAgent.h
diff --git a/Source/core/inspector/InspectorResourceAgent.h b/Source/core/inspector/InspectorResourceAgent.h
index bbf3892486ffe141edf67792256b70b5b7ed9d27..1a4547744dd0c610cd34ecea997f3422750ac9a1 100644
--- a/Source/core/inspector/InspectorResourceAgent.h
+++ b/Source/core/inspector/InspectorResourceAgent.h
@@ -151,12 +151,13 @@ public:
// Called from other agents.
void setHostId(const String&);
bool fetchResourceContent(Document*, const KURL&, String* content, bool* base64Encoded);
- bool shouldBlockRequest(const ResourceRequest&);
+ bool shouldBlockRequest(LocalFrame*, const ResourceRequest&, DocumentLoader*, const FetchInitiatorInfo&);
private:
explicit InspectorResourceAgent(InspectorPageAgent*);
void enable();
+ void willSendRequestInternal(LocalFrame*, unsigned long identifier, DocumentLoader*, const ResourceRequest&, const ResourceResponse& redirectResponse, const FetchInitiatorInfo&);
void delayedRemoveReplayXHR(XMLHttpRequest*);
void removeFinishedReplayXHRFired(Timer<InspectorResourceAgent>*);
void didFinishXHRInternal(ExecutionContext*, XMLHttpRequest*, ThreadableLoaderClient*, const AtomicString&, const String&, bool);
« no previous file with comments | « no previous file | Source/core/inspector/InspectorResourceAgent.cpp » ('j') | Source/core/inspector/InspectorResourceAgent.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698