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

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

Issue 1118963002: Revert of DevTools: remove dependency of most agents on InspectorPageAgent (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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
« no previous file with comments | « Source/core/inspector/InspectorResourceAgent.cpp ('k') | Source/core/inspector/InspectorTracingAgent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorTracingAgent.h
diff --git a/Source/core/inspector/InspectorTracingAgent.h b/Source/core/inspector/InspectorTracingAgent.h
index 965a2a9eda0b383c4069e845b7b86f6d2eb28ef5..4a84a1592cf5e3222fa1254bd7085dfd9cfd866e 100644
--- a/Source/core/inspector/InspectorTracingAgent.h
+++ b/Source/core/inspector/InspectorTracingAgent.h
@@ -14,8 +14,8 @@
namespace blink {
+class InspectorPageAgent;
class InspectorWorkerAgent;
-class LocalFrame;
class InspectorTracingAgent final
: public InspectorBaseAgent<InspectorTracingAgent, InspectorFrontend::Tracing>
@@ -30,9 +30,9 @@
virtual void disableTracing() { }
};
- static PassOwnPtrWillBeRawPtr<InspectorTracingAgent> create(LocalFrame* inspectedFrame, Client* client, InspectorWorkerAgent* workerAgent)
+ static PassOwnPtrWillBeRawPtr<InspectorTracingAgent> create(Client* client, InspectorWorkerAgent* workerAgent, InspectorPageAgent* pageAgent)
{
- return adoptPtrWillBeNoop(new InspectorTracingAgent(inspectedFrame, client, workerAgent));
+ return adoptPtrWillBeNoop(new InspectorTracingAgent(client, workerAgent, pageAgent));
}
DECLARE_VIRTUAL_TRACE();
@@ -49,16 +49,16 @@
void setLayerTreeId(int);
private:
- InspectorTracingAgent(LocalFrame*, Client*, InspectorWorkerAgent*);
+ InspectorTracingAgent(Client*, InspectorWorkerAgent*, InspectorPageAgent*);
void emitMetadataEvents();
void resetSessionId();
String sessionId();
- RawPtrWillBeMember<LocalFrame> m_inspectedFrame;
int m_layerTreeId;
Client* m_client;
RawPtrWillBeMember<InspectorWorkerAgent> m_workerAgent;
+ RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
};
} // namespace blink
« no previous file with comments | « Source/core/inspector/InspectorResourceAgent.cpp ('k') | Source/core/inspector/InspectorTracingAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698