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

Side by Side Diff: third_party/WebKit/Source/core/workers/WorkerInspectorProxy.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/workers/WorkerInspectorProxy.h" 5 #include "core/workers/WorkerInspectorProxy.h"
6 6
7 #include "core/frame/FrameConsole.h" 7 #include "core/frame/FrameConsole.h"
8 #include "core/inspector/IdentifiersFactory.h" 8 #include "core/inspector/IdentifiersFactory.h"
9 #include "core/inspector/InspectorInstrumentation.h" 9 #include "core/inspector/InspectorInstrumentation.h"
10 #include "core/inspector/InspectorTraceEvents.h" 10 #include "core/inspector/InspectorTraceEvents.h"
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 m_workerThread->appendDebuggerTask( 143 m_workerThread->appendDebuggerTask(
144 crossThreadBind(dispatchOnInspectorBackendTask, message, 144 crossThreadBind(dispatchOnInspectorBackendTask, message,
145 crossThreadUnretained(m_workerThread))); 145 crossThreadUnretained(m_workerThread)));
146 } 146 }
147 147
148 void WorkerInspectorProxy::writeTimelineStartedEvent(const String& sessionId) { 148 void WorkerInspectorProxy::writeTimelineStartedEvent(const String& sessionId) {
149 if (!m_workerThread) 149 if (!m_workerThread)
150 return; 150 return;
151 TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), 151 TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"),
152 "TracingSessionIdForWorker", TRACE_EVENT_SCOPE_THREAD, 152 "TracingSessionIdForWorker", TRACE_EVENT_SCOPE_THREAD,
153 "data", InspectorTracingSessionIdForWorkerEvent::data( 153 "data",
154 sessionId, inspectorId(), m_workerThread)); 154 InspectorTracingSessionIdForWorkerEvent::data(
155 sessionId, inspectorId(), m_workerThread));
155 } 156 }
156 157
157 DEFINE_TRACE(WorkerInspectorProxy) { 158 DEFINE_TRACE(WorkerInspectorProxy) {
158 visitor->trace(m_document); 159 visitor->trace(m_document);
159 } 160 }
160 161
161 } // namespace blink 162 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698