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

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

Issue 638553002: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed Nits Created 6 years, 2 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/ConsoleMessage.h ('k') | Source/core/inspector/DOMEditor.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/Forward.h" 10 #include "wtf/Forward.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 class LocalDOMWindow; 14 class LocalDOMWindow;
15 class WorkerGlobalScopeProxy; 15 class WorkerGlobalScopeProxy;
16 16
17 class ConsoleMessageStorage FINAL : public NoBaseWillBeGarbageCollected<ConsoleM essageStorage> { 17 class ConsoleMessageStorage final : public NoBaseWillBeGarbageCollected<ConsoleM essageStorage> {
18 WTF_MAKE_NONCOPYABLE(ConsoleMessageStorage); 18 WTF_MAKE_NONCOPYABLE(ConsoleMessageStorage);
19 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; 19 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED;
20 public: 20 public:
21 static PassOwnPtrWillBeRawPtr<ConsoleMessageStorage> createForWorker(Executi onContext* context) 21 static PassOwnPtrWillBeRawPtr<ConsoleMessageStorage> createForWorker(Executi onContext* context)
22 { 22 {
23 return adoptPtrWillBeNoop(new ConsoleMessageStorage(context)); 23 return adoptPtrWillBeNoop(new ConsoleMessageStorage(context));
24 } 24 }
25 25
26 static PassOwnPtrWillBeRawPtr<ConsoleMessageStorage> createForFrame(LocalFra me* frame) 26 static PassOwnPtrWillBeRawPtr<ConsoleMessageStorage> createForFrame(LocalFra me* frame)
27 { 27 {
(...skipping 23 matching lines...) Expand all
51 51
52 int m_expiredCount; 52 int m_expiredCount;
53 WillBeHeapDeque<RefPtrWillBeMember<ConsoleMessage> > m_messages; 53 WillBeHeapDeque<RefPtrWillBeMember<ConsoleMessage> > m_messages;
54 RawPtrWillBeMember<ExecutionContext> m_context; 54 RawPtrWillBeMember<ExecutionContext> m_context;
55 RawPtrWillBeMember<LocalFrame> m_frame; 55 RawPtrWillBeMember<LocalFrame> m_frame;
56 }; 56 };
57 57
58 } // namespace blink 58 } // namespace blink
59 59
60 #endif // ConsoleMessageStorage_h 60 #endif // ConsoleMessageStorage_h
OLDNEW
« no previous file with comments | « Source/core/inspector/ConsoleMessage.h ('k') | Source/core/inspector/DOMEditor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698