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

Side by Side Diff: third_party/WebKit/Source/core/inspector/ConsoleMessage.cpp

Issue 1777323005: Revert of [DevTools] Remove extra plumbing from InspectorWorkerAgent, prepare to multi-client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/inspector/ConsoleMessage.h" 5 #include "core/inspector/ConsoleMessage.h"
6 6
7 #include "bindings/core/v8/ScriptCallStack.h" 7 #include "bindings/core/v8/ScriptCallStack.h"
8 #include "bindings/core/v8/ScriptValue.h" 8 #include "bindings/core/v8/ScriptValue.h"
9 #include "core/inspector/ScriptArguments.h" 9 #include "core/inspector/ScriptArguments.h"
10 #include "core/workers/WorkerInspectorProxy.h"
11 #include "wtf/CurrentTime.h" 10 #include "wtf/CurrentTime.h"
12 #include "wtf/PassOwnPtr.h" 11 #include "wtf/PassOwnPtr.h"
13 12
14 namespace blink { 13 namespace blink {
15 14
16 unsigned nextMessageId() 15 unsigned nextMessageId()
17 { 16 {
18 struct MessageId { 17 struct MessageId {
19 MessageId() : value(0) { } 18 MessageId() : value(0) { }
20 unsigned value; 19 unsigned value;
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 if (m_type == EndGroupMessageType) 205 if (m_type == EndGroupMessageType)
207 return; 206 return;
208 207
209 if (!m_callStack) 208 if (!m_callStack)
210 setCallStack(ScriptCallStack::captureForConsole()); 209 setCallStack(ScriptCallStack::captureForConsole());
211 } 210 }
212 211
213 DEFINE_TRACE(ConsoleMessage) 212 DEFINE_TRACE(ConsoleMessage)
214 { 213 {
215 visitor->trace(m_scriptArguments); 214 visitor->trace(m_scriptArguments);
216 visitor->trace(m_workerProxy);
217 } 215 }
218 216
219 } // namespace blink 217 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698