chromium/third_party/blink/renderer/core/timing/performance_timing.cc

// Copyright 2010 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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"

// Legacy support for NT1(https://www.w3.org/TR/navigation-timing/).
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 {}

// static
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 {}

// static
const PerformanceTiming::NameToAttributeMap&
PerformanceTiming::GetAttributeMapping() {}

void PerformanceTiming::Trace(Visitor* visitor) const {}

}  // namespace blink