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

Side by Side Diff: third_party/WebKit/Source/core/timing/PerformanceObserverEntryList.h

Issue 1882003002: include RefCounted.h where needed, only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: compile fix Created 4 years, 8 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 PerformanceObserverEntryList_h 5 #ifndef PerformanceObserverEntryList_h
6 #define PerformanceObserverEntryList_h 6 #define PerformanceObserverEntryList_h
7 7
8 #include "bindings/core/v8/ScriptWrappable.h" 8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "platform/heap/Handle.h" 9 #include "platform/heap/Handle.h"
10 #include "wtf/PassRefPtr.h" 10 #include "wtf/Forward.h"
11 #include "wtf/RefCounted.h"
12 #include "wtf/text/WTFString.h"
13 11
14 namespace blink { 12 namespace blink {
15 13
16 class PerformanceEntry; 14 class PerformanceEntry;
17 using PerformanceEntryVector = HeapVector<Member<PerformanceEntry>>; 15 using PerformanceEntryVector = HeapVector<Member<PerformanceEntry>>;
18 16
19 class PerformanceObserverEntryList : public GarbageCollectedFinalized<Performanc eObserverEntryList>, public ScriptWrappable { 17 class PerformanceObserverEntryList : public GarbageCollectedFinalized<Performanc eObserverEntryList>, public ScriptWrappable {
20 DEFINE_WRAPPERTYPEINFO(); 18 DEFINE_WRAPPERTYPEINFO();
21 public: 19 public:
22 PerformanceObserverEntryList(const PerformanceEntryVector&); 20 PerformanceObserverEntryList(const PerformanceEntryVector&);
23 21
24 virtual ~PerformanceObserverEntryList(); 22 virtual ~PerformanceObserverEntryList();
25 23
26 PerformanceEntryVector getEntries() const; 24 PerformanceEntryVector getEntries() const;
27 PerformanceEntryVector getEntriesByType(const String& entryType); 25 PerformanceEntryVector getEntriesByType(const String& entryType);
28 PerformanceEntryVector getEntriesByName(const String& name, const String& en tryType); 26 PerformanceEntryVector getEntriesByName(const String& name, const String& en tryType);
29 27
30 DECLARE_TRACE(); 28 DECLARE_TRACE();
31 29
32 protected: 30 protected:
33 PerformanceEntryVector m_performanceEntries; 31 PerformanceEntryVector m_performanceEntries;
34 }; 32 };
35 33
36 } // namespace blink 34 } // namespace blink
37 35
38 #endif // PerformanceObserverEntryList_h 36 #endif // PerformanceObserverEntryList_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/timing/PerformanceObserver.h ('k') | third_party/WebKit/Source/core/workers/AbstractWorker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698