#include "third_party/blink/renderer/core/timing/performance_timing.h"
#include "third_party/blink/renderer/bindings/core/v8/script_value.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_object_builder.h"
#include "third_party/blink/renderer/core/dom/document.h"
#include "third_party/blink/renderer/core/dom/document_parser_timing.h"
#include "third_party/blink/renderer/core/dom/document_timing.h"
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/inspector/identifiers_factory.h"
#include "third_party/blink/renderer/core/loader/document_load_timing.h"
#include "third_party/blink/renderer/core/loader/document_loader.h"
#include "third_party/blink/renderer/core/loader/interactive_detector.h"
#include "third_party/blink/renderer/core/paint/timing/image_paint_timing_detector.h"
#include "third_party/blink/renderer/core/paint/timing/paint_timing.h"
#include "third_party/blink/renderer/core/paint/timing/paint_timing_detector.h"
#include "third_party/blink/renderer/core/paint/timing/text_paint_timing_detector.h"
#include "third_party/blink/renderer/core/timing/performance.h"
#include "third_party/blink/renderer/platform/loader/fetch/resource_load_timing.h"
#include "third_party/blink/renderer/platform/loader/fetch/resource_response.h"
namespace blink {
static uint64_t ToIntegerMilliseconds(base::TimeDelta duration,
bool cross_origin_isolated_capability) { … }
PerformanceTiming::PerformanceTiming(ExecutionContext* context)
: … { … }
uint64_t PerformanceTiming::navigationStart() const { … }
uint64_t PerformanceTiming::unloadEventStart() const { … }
uint64_t PerformanceTiming::unloadEventEnd() const { … }
uint64_t PerformanceTiming::redirectStart() const { … }
uint64_t PerformanceTiming::redirectEnd() const { … }
uint64_t PerformanceTiming::fetchStart() const { … }
uint64_t PerformanceTiming::domainLookupStart() const { … }
uint64_t PerformanceTiming::domainLookupEnd() const { … }
uint64_t PerformanceTiming::connectStart() const { … }
uint64_t PerformanceTiming::connectEnd() const { … }
uint64_t PerformanceTiming::secureConnectionStart() const { … }
uint64_t PerformanceTiming::requestStart() const { … }
uint64_t PerformanceTiming::responseStart() const { … }
uint64_t PerformanceTiming::responseEnd() const { … }
uint64_t PerformanceTiming::domLoading() const { … }
uint64_t PerformanceTiming::domInteractive() const { … }
uint64_t PerformanceTiming::domContentLoadedEventStart() const { … }
uint64_t PerformanceTiming::domContentLoadedEventEnd() const { … }
uint64_t PerformanceTiming::domComplete() const { … }
uint64_t PerformanceTiming::loadEventStart() const { … }
uint64_t PerformanceTiming::loadEventEnd() const { … }
DocumentLoader* PerformanceTiming::GetDocumentLoader() const { … }
const DocumentTiming* PerformanceTiming::GetDocumentTiming() const { … }
DocumentLoadTiming* PerformanceTiming::GetDocumentLoadTiming() const { … }
ResourceLoadTiming* PerformanceTiming::GetResourceLoadTiming() const { … }
void PerformanceTiming::WriteInto(perfetto::TracedDictionary& dict) const { … }
bool PerformanceTiming::IsAttributeName(const AtomicString& name) { … }
uint64_t PerformanceTiming::GetNamedAttribute(const AtomicString& name) const { … }
ScriptValue PerformanceTiming::toJSONForBinding(
ScriptState* script_state) const { … }
uint64_t PerformanceTiming::MonotonicTimeToIntegerMilliseconds(
base::TimeTicks time) const { … }
const PerformanceTiming::NameToAttributeMap&
PerformanceTiming::GetAttributeMapping() { … }
void PerformanceTiming::Trace(Visitor* visitor) const { … }
}