OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef ScriptAsyncCallStack_h | |
6 #define ScriptAsyncCallStack_h | |
7 | |
8 #include "core/InspectorTypeBuilder.h" | |
9 #include "core/inspector/ScriptCallStack.h" | |
10 #include "wtf/Forward.h" | |
11 #include "wtf/RefCounted.h" | |
12 | |
13 namespace blink { | |
14 | |
15 class ScriptAsyncCallStack : public RefCounted<ScriptAsyncCallStack> { | |
16 public: | |
17 static PassRefPtr<ScriptAsyncCallStack> create(const String&, PassRefPtr<Scr
iptCallStack>, PassRefPtr<ScriptAsyncCallStack>); | |
18 | |
19 ~ScriptAsyncCallStack(); | |
20 | |
21 PassRefPtr<TypeBuilder::Console::AsyncStackTrace> buildInspectorObject() con
st; | |
22 | |
23 private: | |
24 ScriptAsyncCallStack(const String&, PassRefPtr<ScriptCallStack>, PassRefPtr<
ScriptAsyncCallStack>); | |
25 | |
26 String m_description; | |
27 RefPtr<ScriptCallStack> m_callStack; | |
28 RefPtr<ScriptAsyncCallStack> m_asyncStackTrace; | |
29 }; | |
30 | |
31 } // namespace blink | |
32 | |
33 #endif // ScriptAsyncCallStack_h | |
OLD | NEW |