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

Side by Side Diff: Source/core/timing/PerformanceBase.h

Issue 1232333002: Fix virtual/override/final usage in the rest of Source/core/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/timing/Performance.h ('k') | Source/core/timing/PerformanceCompositeTiming.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 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * Copyright (C) 2012 Intel Inc. All rights reserved. 3 * Copyright (C) 2012 Intel Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 class ExceptionState; 46 class ExceptionState;
47 class PerformanceTiming; 47 class PerformanceTiming;
48 class ResourceTimingInfo; 48 class ResourceTimingInfo;
49 class UserTiming; 49 class UserTiming;
50 50
51 using PerformanceEntryVector = HeapVector<Member<PerformanceEntry>>; 51 using PerformanceEntryVector = HeapVector<Member<PerformanceEntry>>;
52 52
53 class CORE_EXPORT PerformanceBase : public RefCountedGarbageCollectedEventTarget WithInlineData<PerformanceBase> { 53 class CORE_EXPORT PerformanceBase : public RefCountedGarbageCollectedEventTarget WithInlineData<PerformanceBase> {
54 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(PerformanceBase); 54 REFCOUNTED_GARBAGE_COLLECTED_EVENT_TARGET(PerformanceBase);
55 public: 55 public:
56 virtual ~PerformanceBase(); 56 ~PerformanceBase() override;
57 57
58 virtual const AtomicString& interfaceName() const override; 58 const AtomicString& interfaceName() const override;
59 59
60 virtual PerformanceTiming* timing() const; 60 virtual PerformanceTiming* timing() const;
61 double now() const; 61 double now() const;
62 62
63 double timeOrigin() const { return m_timeOrigin; } 63 double timeOrigin() const { return m_timeOrigin; }
64 64
65 PerformanceEntryVector getEntries() const; 65 PerformanceEntryVector getEntries() const;
66 PerformanceEntryVector getEntriesByType(const String& entryType); 66 PerformanceEntryVector getEntriesByType(const String& entryType);
67 PerformanceEntryVector getEntriesByName(const String& name, const String& en tryType); 67 PerformanceEntryVector getEntriesByName(const String& name, const String& en tryType);
68 68
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 PerformanceEntryVector m_resourceTimingBuffer; 103 PerformanceEntryVector m_resourceTimingBuffer;
104 unsigned m_resourceTimingBufferSize; 104 unsigned m_resourceTimingBufferSize;
105 double m_timeOrigin; 105 double m_timeOrigin;
106 106
107 Member<UserTiming> m_userTiming; 107 Member<UserTiming> m_userTiming;
108 }; 108 };
109 109
110 } // namespace blink 110 } // namespace blink
111 111
112 #endif // PerformanceBase_h 112 #endif // PerformanceBase_h
OLDNEW
« no previous file with comments | « Source/core/timing/Performance.h ('k') | Source/core/timing/PerformanceCompositeTiming.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698