| Index: Source/core/inspector/InspectorResourceAgent.h
|
| diff --git a/Source/core/inspector/InspectorResourceAgent.h b/Source/core/inspector/InspectorResourceAgent.h
|
| index cc67edc94dea7eae516dc649ce0d9fe0376a8d01..4853e0fb4f0a65ef22d061bd77e7fc7de7f75025 100644
|
| --- a/Source/core/inspector/InspectorResourceAgent.h
|
| +++ b/Source/core/inspector/InspectorResourceAgent.h
|
| @@ -50,6 +50,7 @@
|
| class LocalFrame;
|
| class HTTPHeaderMap;
|
| class InspectorFrontend;
|
| +class InspectorPageAgent;
|
| class JSONObject;
|
| class KURL;
|
| class NetworkResourcesData;
|
| @@ -68,9 +69,9 @@
|
|
|
| class InspectorResourceAgent final : public InspectorBaseAgent<InspectorResourceAgent, InspectorFrontend::Network>, public InspectorBackendDispatcher::NetworkCommandHandler {
|
| public:
|
| - static PassOwnPtrWillBeRawPtr<InspectorResourceAgent> create(LocalFrame* inspectedFrame)
|
| + static PassOwnPtrWillBeRawPtr<InspectorResourceAgent> create(InspectorPageAgent* pageAgent)
|
| {
|
| - return adoptPtrWillBeNoop(new InspectorResourceAgent(inspectedFrame));
|
| + return adoptPtrWillBeNoop(new InspectorResourceAgent(pageAgent));
|
| }
|
|
|
| void disable(ErrorString*) override;
|
| @@ -144,7 +145,7 @@
|
| bool fetchResourceContent(Document*, const KURL&, String* content, bool* base64Encoded);
|
|
|
| private:
|
| - explicit InspectorResourceAgent(LocalFrame*);
|
| + explicit InspectorResourceAgent(InspectorPageAgent*);
|
|
|
| void enable();
|
| void delayedRemoveReplayXHR(XMLHttpRequest*);
|
| @@ -152,7 +153,7 @@
|
|
|
| bool getResponseBodyBlob(const String& requestId, PassRefPtrWillBeRawPtr<GetResponseBodyCallback>);
|
|
|
| - RawPtrWillBeMember<LocalFrame> m_inspectedFrame;
|
| + RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
|
| String m_userAgentOverride;
|
| String m_hostId;
|
| OwnPtr<NetworkResourcesData> m_resourcesData;
|
|
|