2022-10-13 14:19:32 -03:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2022, Linus Groh <linusg@serenityos.org>
|
|
|
|
|
*
|
|
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
|
*/
|
|
|
|
|
|
2024-11-14 12:01:23 -03:00
|
|
|
#include <LibGC/Heap.h>
|
2022-10-13 14:19:32 -03:00
|
|
|
#include <LibJS/Runtime/VM.h>
|
|
|
|
|
#include <LibWeb/Fetch/Infrastructure/ConnectionTimingInfo.h>
|
|
|
|
|
|
|
|
|
|
namespace Web::Fetch::Infrastructure {
|
|
|
|
|
|
2024-11-14 12:01:23 -03:00
|
|
|
GC_DEFINE_ALLOCATOR(ConnectionTimingInfo);
|
2023-11-19 15:47:52 -03:00
|
|
|
|
2022-10-13 14:19:32 -03:00
|
|
|
ConnectionTimingInfo::ConnectionTimingInfo() = default;
|
|
|
|
|
|
2024-11-14 12:01:23 -03:00
|
|
|
GC::Ref<ConnectionTimingInfo> ConnectionTimingInfo::create(JS::VM& vm)
|
2022-10-13 14:19:32 -03:00
|
|
|
{
|
2024-11-13 14:13:46 -03:00
|
|
|
return vm.heap().allocate<ConnectionTimingInfo>();
|
2022-10-13 14:19:32 -03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|