diff options
Diffstat (limited to 'WebCore/inspector/InspectorResourceAgent.h')
-rw-r--r-- | WebCore/inspector/InspectorResourceAgent.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/WebCore/inspector/InspectorResourceAgent.h b/WebCore/inspector/InspectorResourceAgent.h index 1cdd292..e3153bf 100644 --- a/WebCore/inspector/InspectorResourceAgent.h +++ b/WebCore/inspector/InspectorResourceAgent.h @@ -31,7 +31,6 @@ #ifndef InspectorResourceAgent_h #define InspectorResourceAgent_h -#include "InspectorResource.h" #include "PlatformString.h" #include <wtf/PassRefPtr.h> @@ -48,6 +47,7 @@ namespace WebCore { class CachedResource; class Document; class DocumentLoader; +class Frame; class InspectorArray; class InspectorObject; class InspectorFrontend; @@ -85,7 +85,7 @@ public: void didFinishLoading(unsigned long identifier, double finishTime); void didFailLoading(unsigned long identifier, const ResourceError&); void didLoadResourceFromMemoryCache(DocumentLoader*, const CachedResource*); - void setOverrideContent(unsigned long identifier, const String& sourceString, InspectorResource::Type); + void setOverrideContent(unsigned long identifier, const String& sourceString, const String& type); void didCommitLoad(DocumentLoader*); void frameDetachedFromParent(Frame*); @@ -96,6 +96,8 @@ public: void didCloseWebSocket(unsigned long identifier); #endif + Frame* frameForId(unsigned long); + // Called from frontend void cachedResources(RefPtr<InspectorObject>*); void resourceContent(unsigned long frameID, const String& url, bool base64Encode, String* content); |