| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |