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

Side by Side Diff: sky/engine/core/inspector/ConsoleMessageStorage.h

Issue 709203002: Remove more oilpan. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/html/parser/HTMLTreeBuilder.h ('k') | sky/engine/core/loader/ImageLoader.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 ConsoleMessageStorage_h 5 #ifndef ConsoleMessageStorage_h
6 #define ConsoleMessageStorage_h 6 #define ConsoleMessageStorage_h
7 7
8 #include "core/inspector/ConsoleMessage.h" 8 #include "core/inspector/ConsoleMessage.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "wtf/Deque.h" 10 #include "wtf/Deque.h"
11 #include "wtf/Forward.h" 11 #include "wtf/Forward.h"
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class LocalDOMWindow; 15 class LocalDOMWindow;
16 16
17 class ConsoleMessageStorage final : public DummyBase<ConsoleMessageStorage> { 17 class ConsoleMessageStorage final {
18 WTF_MAKE_NONCOPYABLE(ConsoleMessageStorage); 18 WTF_MAKE_NONCOPYABLE(ConsoleMessageStorage);
19 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; 19 WTF_MAKE_FAST_ALLOCATED;
20 public: 20 public:
21 static PassOwnPtr<ConsoleMessageStorage> createForFrame(LocalFrame* frame) 21 static PassOwnPtr<ConsoleMessageStorage> createForFrame(LocalFrame* frame)
22 { 22 {
23 return adoptPtr(new ConsoleMessageStorage(frame)); 23 return adoptPtr(new ConsoleMessageStorage(frame));
24 } 24 }
25 25
26 void reportMessage(PassRefPtr<ConsoleMessage>); 26 void reportMessage(PassRefPtr<ConsoleMessage>);
27 void clear(); 27 void clear();
28 28
29 Vector<unsigned> argumentCounts() const; 29 Vector<unsigned> argumentCounts() const;
(...skipping 15 matching lines...) Expand all
45 45
46 int m_expiredCount; 46 int m_expiredCount;
47 Deque<RefPtr<ConsoleMessage> > m_messages; 47 Deque<RefPtr<ConsoleMessage> > m_messages;
48 RawPtr<ExecutionContext> m_context; 48 RawPtr<ExecutionContext> m_context;
49 LocalFrame* m_frame; 49 LocalFrame* m_frame;
50 }; 50 };
51 51
52 } // namespace blink 52 } // namespace blink
53 53
54 #endif // ConsoleMessageStorage_h 54 #endif // ConsoleMessageStorage_h
OLDNEW
« no previous file with comments | « sky/engine/core/html/parser/HTMLTreeBuilder.h ('k') | sky/engine/core/loader/ImageLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698