diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-29 14:15:18 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-04-29 14:15:18 +0200 |
commit | 306db80410e802b0fe9a3b5273d4cf29586a1b17 (patch) | |
tree | 5e2370df03be5b04ea225afa1e720d46840dd9bf /dom/base/nsContentUtils.h | |
parent | 92d3042138babf4f82d254f6cb6e11831dcca506 (diff) | |
download | UXP-306db80410e802b0fe9a3b5273d4cf29586a1b17.tar UXP-306db80410e802b0fe9a3b5273d4cf29586a1b17.tar.gz UXP-306db80410e802b0fe9a3b5273d4cf29586a1b17.tar.lz UXP-306db80410e802b0fe9a3b5273d4cf29586a1b17.tar.xz UXP-306db80410e802b0fe9a3b5273d4cf29586a1b17.zip |
moebius#161: The Performance Resource Timing (make timestamps be relative to startTime)
https://github.com/MoonchildProductions/moebius/pull/161
Diffstat (limited to 'dom/base/nsContentUtils.h')
-rw-r--r-- | dom/base/nsContentUtils.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dom/base/nsContentUtils.h b/dom/base/nsContentUtils.h index 0932f451e..9ae6d2155 100644 --- a/dom/base/nsContentUtils.h +++ b/dom/base/nsContentUtils.h @@ -2033,6 +2033,14 @@ public: } /* + * Returns true if the performance timing APIs are enabled. + */ + static bool IsPerformanceNavigationTimingEnabled() + { + return sIsPerformanceNavigationTimingEnabled; + } + + /* * Returns true if notification should be sent for peformance timing events. */ static bool SendPerformanceTimingNotifications() @@ -2825,6 +2833,7 @@ private: static uint32_t sHandlingInputTimeout; static bool sIsPerformanceTimingEnabled; static bool sIsResourceTimingEnabled; + static bool sIsPerformanceNavigationTimingEnabled; static bool sIsUserTimingLoggingEnabled; static bool sIsFrameTimingPrefEnabled; static bool sIsExperimentalAutocompleteEnabled; |