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

Side by Side Diff: Source/core/inspector/PromiseTracker.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/PageRuntimeAgent.h ('k') | Source/core/inspector/PromiseTracker.cpp » ('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 PromiseTracker_h 5 #ifndef PromiseTracker_h
6 #define PromiseTracker_h 6 #define PromiseTracker_h
7 7
8 #include "core/InspectorTypeBuilder.h" 8 #include "core/InspectorTypeBuilder.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "wtf/HashMap.h" 10 #include "wtf/HashMap.h"
11 #include "wtf/Noncopyable.h" 11 #include "wtf/Noncopyable.h"
12 #include "wtf/RefPtr.h" 12 #include "wtf/RefPtr.h"
13 #include "wtf/Vector.h" 13 #include "wtf/Vector.h"
14 #include <v8.h> 14 #include <v8.h>
15 15
16 namespace blink { 16 namespace blink {
17 17
18 class ScriptState; 18 class ScriptState;
19 class ScriptValue; 19 class ScriptValue;
20 20
21 class PromiseTracker FINAL : public NoBaseWillBeGarbageCollected<PromiseTracker> { 21 class PromiseTracker final : public NoBaseWillBeGarbageCollected<PromiseTracker> {
22 WTF_MAKE_NONCOPYABLE(PromiseTracker); 22 WTF_MAKE_NONCOPYABLE(PromiseTracker);
23 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(PromiseTracker); 23 DECLARE_EMPTY_DESTRUCTOR_WILL_BE_REMOVED(PromiseTracker);
24 public: 24 public:
25 static PassOwnPtrWillBeRawPtr<PromiseTracker> create() 25 static PassOwnPtrWillBeRawPtr<PromiseTracker> create()
26 { 26 {
27 return adoptPtrWillBeNoop(new PromiseTracker()); 27 return adoptPtrWillBeNoop(new PromiseTracker());
28 } 28 }
29 29
30 bool isEnabled() const { return m_isEnabled; } 30 bool isEnabled() const { return m_isEnabled; }
31 void setEnabled(bool); 31 void setEnabled(bool);
(...skipping 24 matching lines...) Expand all
56 56
57 int m_circularSequentialId; 57 int m_circularSequentialId;
58 PromiseDataMap m_promiseDataMap; 58 PromiseDataMap m_promiseDataMap;
59 bool m_isEnabled; 59 bool m_isEnabled;
60 PromiseIdToDataMap m_promiseIdToDataMap; 60 PromiseIdToDataMap m_promiseIdToDataMap;
61 }; 61 };
62 62
63 } // namespace blink 63 } // namespace blink
64 64
65 #endif // !defined(PromiseTracker_h) 65 #endif // !defined(PromiseTracker_h)
OLDNEW
« no previous file with comments | « Source/core/inspector/PageRuntimeAgent.h ('k') | Source/core/inspector/PromiseTracker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698