Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / Source / core / inspector / ScriptAsyncCallStack.h
blob4cb6c440453cf1814a51cc981e5f43932ad453aa
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.
5 #ifndef ScriptAsyncCallStack_h
6 #define ScriptAsyncCallStack_h
8 #include "core/InspectorTypeBuilder.h"
9 #include "core/inspector/ScriptCallStack.h"
10 #include "platform/heap/Handle.h"
11 #include "wtf/Forward.h"
12 #include "wtf/RefCounted.h"
14 namespace blink {
16 class ScriptAsyncCallStack : public RefCountedWillBeGarbageCollectedFinalized<ScriptAsyncCallStack> {
17 public:
18 static PassRefPtrWillBeRawPtr<ScriptAsyncCallStack> create(const String&, PassRefPtrWillBeRawPtr<ScriptCallStack>, PassRefPtrWillBeRawPtr<ScriptAsyncCallStack>);
20 ~ScriptAsyncCallStack();
22 PassRefPtr<TypeBuilder::Console::AsyncStackTrace> buildInspectorObject() const;
24 DECLARE_TRACE();
26 private:
27 ScriptAsyncCallStack(const String&, PassRefPtrWillBeRawPtr<ScriptCallStack>, PassRefPtrWillBeRawPtr<ScriptAsyncCallStack>);
29 String m_description;
30 RefPtrWillBeMember<ScriptCallStack> m_callStack;
31 RefPtrWillBeMember<ScriptAsyncCallStack> m_asyncStackTrace;
34 } // namespace blink
36 #endif // ScriptAsyncCallStack_h