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

Side by Side Diff: third_party/WebKit/Source/core/inspector/ScriptAsyncCallStack.h

Issue 1601283003: DevTools: deoilpanize inspector/v8 and related classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments addressed. Created 4 years, 11 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 #ifndef ScriptAsyncCallStack_h 5 #ifndef ScriptAsyncCallStack_h
6 #define ScriptAsyncCallStack_h 6 #define ScriptAsyncCallStack_h
7 7
8 #include "core/InspectorTypeBuilder.h" 8 #include "core/InspectorTypeBuilder.h"
9 #include "core/inspector/ScriptCallStack.h" 9 #include "core/inspector/ScriptCallStack.h"
10 #include "platform/heap/Handle.h"
11 #include "wtf/Forward.h" 10 #include "wtf/Forward.h"
12 #include "wtf/RefCounted.h" 11 #include "wtf/RefCounted.h"
13 12
14 namespace blink { 13 namespace blink {
15 14
16 class ScriptAsyncCallStack : public RefCountedWillBeGarbageCollectedFinalized<Sc riptAsyncCallStack> { 15 class ScriptAsyncCallStack : public RefCounted<ScriptAsyncCallStack> {
17 public: 16 public:
18 static PassRefPtrWillBeRawPtr<ScriptAsyncCallStack> create(const String&, Pa ssRefPtrWillBeRawPtr<ScriptCallStack>, PassRefPtrWillBeRawPtr<ScriptAsyncCallSta ck>); 17 static PassRefPtr<ScriptAsyncCallStack> create(const String&, PassRefPtr<Scr iptCallStack>, PassRefPtr<ScriptAsyncCallStack>);
19 18
20 ~ScriptAsyncCallStack(); 19 ~ScriptAsyncCallStack();
21 20
22 PassRefPtr<TypeBuilder::Console::AsyncStackTrace> buildInspectorObject() con st; 21 PassRefPtr<TypeBuilder::Console::AsyncStackTrace> buildInspectorObject() con st;
23 22
24 DECLARE_TRACE();
25
26 private: 23 private:
27 ScriptAsyncCallStack(const String&, PassRefPtrWillBeRawPtr<ScriptCallStack>, PassRefPtrWillBeRawPtr<ScriptAsyncCallStack>); 24 ScriptAsyncCallStack(const String&, PassRefPtr<ScriptCallStack>, PassRefPtr< ScriptAsyncCallStack>);
28 25
29 String m_description; 26 String m_description;
30 RefPtrWillBeMember<ScriptCallStack> m_callStack; 27 RefPtr<ScriptCallStack> m_callStack;
31 RefPtrWillBeMember<ScriptAsyncCallStack> m_asyncStackTrace; 28 RefPtr<ScriptAsyncCallStack> m_asyncStackTrace;
32 }; 29 };
33 30
34 } // namespace blink 31 } // namespace blink
35 32
36 #endif // ScriptAsyncCallStack_h 33 #endif // ScriptAsyncCallStack_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698