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

Unified Diff: Source/core/inspector/InspectorController.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/InspectorCanvasAgent.cpp ('k') | Source/core/inspector/InspectorController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InspectorController.h
diff --git a/Source/core/inspector/InspectorController.h b/Source/core/inspector/InspectorController.h
index 3de1b0ae1a525b7c58484eff3672f8a99d5a85da..4c080094e465aabc266552d4602a15849bd9be43 100644
--- a/Source/core/inspector/InspectorController.h
+++ b/Source/core/inspector/InspectorController.h
@@ -137,13 +137,13 @@ public:
void willAddPageOverlay(const GraphicsLayer*);
void didRemovePageOverlay(const GraphicsLayer*);
+ InstrumentingAgents* instrumentingAgents() { return m_instrumentingAgents.get(); }
+
private:
InspectorController(Page*, InspectorClient*);
void initializeDeferredAgents();
- friend InstrumentingAgents* instrumentationForPage(Page*);
-
RefPtrWillBeMember<InstrumentingAgents> m_instrumentingAgents;
OwnPtrWillBeMember<InjectedScriptManager> m_injectedScriptManager;
OwnPtrWillBeMember<InspectorCompositeState> m_state;
@@ -162,7 +162,6 @@ private:
RefPtrWillBeMember<InspectorBackendDispatcher> m_inspectorBackendDispatcher;
InspectorFrontendClient* m_inspectorFrontendClient;
OwnPtr<InspectorFrontend> m_inspectorFrontend;
- RawPtrWillBeMember<Page> m_page;
InspectorClient* m_inspectorClient;
InspectorAgentRegistry m_agents;
bool m_isUnderTest;
« no previous file with comments | « Source/core/inspector/InspectorCanvasAgent.cpp ('k') | Source/core/inspector/InspectorController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698