blob: 79eabef9856b62a034bc079a8a9c64c986687b85 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#pragma once
#include "root.h"
#include "SerializedScriptValue.h"
#include "TransferredMessagePort.h"
#include "MessagePort.h"
namespace WebCore {
struct BunOptions {
bool mini { false };
bool unref { false };
RefPtr<SerializedScriptValue> data;
Vector<TransferredMessagePort> dataMessagePorts;
std::unique_ptr<HashMap<String, String>> env { nullptr };
};
struct WorkerOptions {
// WorkerType type { WorkerType::Classic };
// FetchRequestCredentials credentials { FetchRequestCredentials::SameOrigin };
String name;
BunOptions bun {};
};
} // namespace WebCore
|