summaryrefslogtreecommitdiffstats
path: root/dom/performance/Performance.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/performance/Performance.h')
-rw-r--r--dom/performance/Performance.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/dom/performance/Performance.h b/dom/performance/Performance.h
index 04dd76bc7..8495235a2 100644
--- a/dom/performance/Performance.h
+++ b/dom/performance/Performance.h
@@ -24,6 +24,7 @@ namespace dom {
class PerformanceEntry;
class PerformanceNavigation;
class PerformanceObserver;
+class PerformanceService;
class PerformanceTiming;
namespace workers {
@@ -69,6 +70,8 @@ public:
virtual DOMHighResTimeStamp Now() const = 0;
+ DOMHighResTimeStamp TimeOrigin();
+
void Mark(const nsAString& aName, ErrorResult& aRv);
void ClearMarks(const Optional<nsAString>& aName);
@@ -157,6 +160,8 @@ private:
uint64_t mResourceTimingBufferSize;
static const uint64_t kDefaultResourceTimingBufferSize = 150;
bool mPendingNotificationObserversTask;
+
+ RefPtr<PerformanceService> mPerformanceService;
};
} // namespace dom