mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-24 12:02:51 +00:00
28 lines
560 B
C++
28 lines
560 B
C++
/*
|
|
* Copyright (c) 2024, Shannon Booth <shannon@serenityos.org>
|
|
*
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
|
*/
|
|
|
|
#include <LibWeb/Bindings/IDBFactoryPrototype.h>
|
|
#include <LibWeb/Bindings/Intrinsics.h>
|
|
#include <LibWeb/IndexedDB/IDBFactory.h>
|
|
|
|
namespace Web::IndexedDB {
|
|
|
|
JS_DEFINE_ALLOCATOR(IDBFactory);
|
|
|
|
IDBFactory::IDBFactory(JS::Realm& realm)
|
|
: Bindings::PlatformObject(realm)
|
|
{
|
|
}
|
|
|
|
IDBFactory::~IDBFactory() = default;
|
|
|
|
void IDBFactory::initialize(JS::Realm& realm)
|
|
{
|
|
Base::initialize(realm);
|
|
WEB_SET_PROTOTYPE_FOR_INTERFACE(IDBFactory);
|
|
}
|
|
|
|
}
|