/src/serenity/Userland/Libraries/LibWeb/IndexedDB/IDBFactory.cpp
Line | Count | Source |
1 | | /* |
2 | | * Copyright (c) 2024, Shannon Booth <shannon@serenityos.org> |
3 | | * |
4 | | * SPDX-License-Identifier: BSD-2-Clause |
5 | | */ |
6 | | |
7 | | #include <LibWeb/Bindings/IDBFactoryPrototype.h> |
8 | | #include <LibWeb/Bindings/Intrinsics.h> |
9 | | #include <LibWeb/IndexedDB/IDBFactory.h> |
10 | | |
11 | | namespace Web::IndexedDB { |
12 | | |
13 | | JS_DEFINE_ALLOCATOR(IDBFactory); |
14 | | |
15 | | IDBFactory::IDBFactory(JS::Realm& realm) |
16 | 0 | : Bindings::PlatformObject(realm) |
17 | 0 | { |
18 | 0 | } |
19 | | |
20 | 0 | IDBFactory::~IDBFactory() = default; |
21 | | |
22 | | void IDBFactory::initialize(JS::Realm& realm) |
23 | 0 | { |
24 | 0 | Base::initialize(realm); |
25 | 0 | WEB_SET_PROTOTYPE_FOR_INTERFACE(IDBFactory); |
26 | 0 | } |
27 | | |
28 | | } |