#include "third_party/blink/renderer/core/timing/performance_server_timing.h"
#include "third_party/blink/renderer/bindings/core/v8/v8_object_builder.h"
#include "third_party/blink/renderer/platform/loader/fetch/resource_response.h"
#include "third_party/blink/renderer/platform/loader/fetch/resource_timing_utils.h"
#include "third_party/blink/renderer/platform/network/http_names.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
namespace blink {
PerformanceServerTiming::PerformanceServerTiming(const String& name,
double duration,
const String& description)
: … { … }
PerformanceServerTiming::~PerformanceServerTiming() = default;
ScriptValue PerformanceServerTiming::toJSONForBinding(
ScriptState* script_state) const { … }
HeapVector<Member<PerformanceServerTiming>>
PerformanceServerTiming::ParseServerTiming(const ResourceResponse& response) { … }
HeapVector<Member<PerformanceServerTiming>>
PerformanceServerTiming::FromParsedServerTiming(
const Vector<mojom::blink::ServerTimingInfoPtr>& entries) { … }
}