Index: Source/core/inspector/InspectorBaseAgent.cpp |
diff --git a/Source/core/inspector/InspectorBaseAgent.cpp b/Source/core/inspector/InspectorBaseAgent.cpp |
index e1b4e8abba2be36bf385cb664eba49da646358b2..b90610196fa4a623d3bc9b6d8b864a314c3e150a 100644 |
--- a/Source/core/inspector/InspectorBaseAgent.cpp |
+++ b/Source/core/inspector/InspectorBaseAgent.cpp |
@@ -58,6 +58,18 @@ InspectorAgentRegistry::InspectorAgentRegistry(InstrumentingAgents* instrumentin |
{ |
} |
+void InspectorAgentRegistry::profilerStarted() |
+{ |
+ for (size_t i = 0; i < m_agents.size(); i++) |
+ m_agents[i]->profilerStarted(); |
+} |
+ |
+void InspectorAgentRegistry::profilerStopped() |
+{ |
+ for (size_t i = 0; i < m_agents.size(); i++) |
+ m_agents[i]->profilerStopped(); |
+} |
+ |
void InspectorAgentRegistry::append(PassOwnPtr<InspectorAgent> agent) |
{ |
agent->appended(m_instrumentingAgents, m_inspectorState->createAgentState(agent->name())); |