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

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

Issue 1666563005: DevTools: merge ScriptCallStack and ScriptAsyncCallStack, move CallStacks from console to Runtime. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: testts Created 4 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/inspector/ConsoleMessage.h" 5 #include "core/inspector/ConsoleMessage.h"
6 6
7 #include "bindings/core/v8/ScriptCallStackFactory.h" 7 #include "bindings/core/v8/ScriptCallStackFactory.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/inspector/ScriptAsyncCallStack.h" 10 #include "core/inspector/ScriptCallStack.h"
11 #include "wtf/CurrentTime.h" 11 #include "wtf/CurrentTime.h"
12 #include "wtf/PassOwnPtr.h" 12 #include "wtf/PassOwnPtr.h"
13 13
14 namespace blink { 14 namespace blink {
15 15
16 unsigned nextMessageId() 16 unsigned nextMessageId()
17 { 17 {
18 struct MessageId { 18 struct MessageId {
19 MessageId() : value(0) { } 19 MessageId() : value(0) { }
20 unsigned value; 20 unsigned value;
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 if (!m_callStack) 210 if (!m_callStack)
211 setCallStack(currentScriptCallStackForConsole(ScriptCallStack::maxCallSt ackSizeToCapture)); 211 setCallStack(currentScriptCallStackForConsole(ScriptCallStack::maxCallSt ackSizeToCapture));
212 } 212 }
213 213
214 DEFINE_TRACE(ConsoleMessage) 214 DEFINE_TRACE(ConsoleMessage)
215 { 215 {
216 visitor->trace(m_scriptArguments); 216 visitor->trace(m_scriptArguments);
217 } 217 }
218 218
219 } // namespace blink 219 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/inspector/InspectorConsoleAgent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698