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

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

Issue 431453004: wtf/Vector.h included more than necessary (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « Source/core/inspector/InspectorFrontendClient.h ('k') | Source/core/rendering/OrderIterator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" 10 #include "platform/heap/Handle.h"
11 #include "wtf/Forward.h" 11 #include "wtf/Forward.h"
12 #include "wtf/RefCounted.h" 12 #include "wtf/RefCounted.h"
13 #include "wtf/Vector.h"
14 13
15 namespace blink { 14 namespace blink {
16 15
17 class ScriptAsyncCallStack : public RefCountedWillBeGarbageCollectedFinalized<Sc riptAsyncCallStack> { 16 class ScriptAsyncCallStack : public RefCountedWillBeGarbageCollectedFinalized<Sc riptAsyncCallStack> {
18 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(ScriptAsyncCallStack); 17 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(ScriptAsyncCallStack);
19 public: 18 public:
20 static PassRefPtrWillBeRawPtr<ScriptAsyncCallStack> create(const String&, Pa ssRefPtrWillBeRawPtr<ScriptCallStack>, PassRefPtrWillBeRawPtr<ScriptAsyncCallSta ck>); 19 static PassRefPtrWillBeRawPtr<ScriptAsyncCallStack> create(const String&, Pa ssRefPtrWillBeRawPtr<ScriptCallStack>, PassRefPtrWillBeRawPtr<ScriptAsyncCallSta ck>);
21 20
22 PassRefPtr<TypeBuilder::Console::AsyncStackTrace> buildInspectorObject() con st; 21 PassRefPtr<TypeBuilder::Console::AsyncStackTrace> buildInspectorObject() con st;
23 22
24 void trace(Visitor*); 23 void trace(Visitor*);
25 24
26 private: 25 private:
27 ScriptAsyncCallStack(const String&, PassRefPtrWillBeRawPtr<ScriptCallStack>, PassRefPtrWillBeRawPtr<ScriptAsyncCallStack>); 26 ScriptAsyncCallStack(const String&, PassRefPtrWillBeRawPtr<ScriptCallStack>, PassRefPtrWillBeRawPtr<ScriptAsyncCallStack>);
28 27
29 String m_description; 28 String m_description;
30 RefPtrWillBeMember<ScriptCallStack> m_callStack; 29 RefPtrWillBeMember<ScriptCallStack> m_callStack;
31 RefPtrWillBeMember<ScriptAsyncCallStack> m_asyncStackTrace; 30 RefPtrWillBeMember<ScriptAsyncCallStack> m_asyncStackTrace;
32 }; 31 };
33 32
34 } // namespace blink 33 } // namespace blink
35 34
36 #endif // ScriptAsyncCallStack_h 35 #endif // ScriptAsyncCallStack_h
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorFrontendClient.h ('k') | Source/core/rendering/OrderIterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698