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

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

Issue 898593002: DevTools: use per-LocalFrame instrumenting agents instead of per-Page ones. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed assertion Created 5 years, 11 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/InspectorTraceEvents.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 30c4a80ae4ba6e4a2d7ba07214c45ac1733726ef..a4e45b1a8f37a24d01040aacfd40262f73db623f 100644
--- a/Source/core/inspector/InspectorTracingAgent.h
+++ b/Source/core/inspector/InspectorTracingAgent.h
@@ -15,17 +15,17 @@
namespace blink {
class InspectorClient;
+class InspectorPageAgent;
class InspectorWorkerAgent;
-class Page;
class InspectorTracingAgent final
: public InspectorBaseAgent<InspectorTracingAgent>
, public InspectorBackendDispatcher::TracingCommandHandler {
WTF_MAKE_NONCOPYABLE(InspectorTracingAgent);
public:
- static PassOwnPtrWillBeRawPtr<InspectorTracingAgent> create(InspectorClient* client, InspectorWorkerAgent* workerAgent, Page* page)
+ static PassOwnPtrWillBeRawPtr<InspectorTracingAgent> create(InspectorClient* client, InspectorWorkerAgent* workerAgent, InspectorPageAgent* pageAgent)
{
- return adoptPtrWillBeNoop(new InspectorTracingAgent(client, workerAgent, page));
+ return adoptPtrWillBeNoop(new InspectorTracingAgent(client, workerAgent, pageAgent));
}
void trace(Visitor*) override;
@@ -43,7 +43,7 @@ public:
void setLayerTreeId(int);
private:
- InspectorTracingAgent(InspectorClient*, InspectorWorkerAgent*, Page*);
+ InspectorTracingAgent(InspectorClient*, InspectorWorkerAgent*, InspectorPageAgent*);
void emitMetadataEvents();
void resetSessionId();
@@ -53,7 +53,7 @@ private:
InspectorClient* m_client;
InspectorFrontend::Tracing* m_frontend;
RawPtrWillBeMember<InspectorWorkerAgent> m_workerAgent;
- RawPtrWillBeMember<Page> m_page;
+ RawPtrWillBeMember<InspectorPageAgent> m_pageAgent;
};
} // namespace blink
« no previous file with comments | « Source/core/inspector/InspectorTraceEvents.cpp ('k') | Source/core/inspector/InspectorTracingAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698