OLD | NEW |
1 // | 1 // |
2 // Copyright 2014 The Chromium Authors. All rights reserved. | 2 // Copyright 2014 The Chromium Authors. All rights reserved. |
3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
5 // | 5 // |
6 | 6 |
7 #include "config.h" | 7 #include "config.h" |
8 | 8 |
9 #include "core/inspector/InspectorTracingAgent.h" | 9 #include "core/inspector/InspectorTracingAgent.h" |
10 | 10 |
| 11 #include "core/frame/LocalFrame.h" |
11 #include "core/inspector/IdentifiersFactory.h" | 12 #include "core/inspector/IdentifiersFactory.h" |
12 #include "core/inspector/InspectorState.h" | 13 #include "core/inspector/InspectorState.h" |
13 #include "core/inspector/InspectorTraceEvents.h" | 14 #include "core/inspector/InspectorTraceEvents.h" |
14 #include "core/inspector/InspectorWorkerAgent.h" | 15 #include "core/inspector/InspectorWorkerAgent.h" |
15 #include "platform/TraceEvent.h" | 16 #include "platform/TraceEvent.h" |
16 | 17 |
17 namespace blink { | 18 namespace blink { |
18 | 19 |
19 namespace TracingAgentState { | 20 namespace TracingAgentState { |
20 const char sessionId[] = "sessionId"; | 21 const char sessionId[] = "sessionId"; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 resetSessionId(); | 86 resetSessionId(); |
86 } | 87 } |
87 | 88 |
88 void InspectorTracingAgent::resetSessionId() | 89 void InspectorTracingAgent::resetSessionId() |
89 { | 90 { |
90 m_state->remove(TracingAgentState::sessionId); | 91 m_state->remove(TracingAgentState::sessionId); |
91 m_workerAgent->setTracingSessionId(sessionId()); | 92 m_workerAgent->setTracingSessionId(sessionId()); |
92 } | 93 } |
93 | 94 |
94 } | 95 } |
OLD | NEW |