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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#pragma once
namespace WebCore {
struct FetchOptions {
enum class Destination : uint8_t { EmptyString,
Audio,
Audioworklet,
Document,
Embed,
Font,
Image,
Iframe,
Manifest,
Model,
Object,
Paintworklet,
Report,
Script,
Serviceworker,
Sharedworker,
Style,
Track,
Video,
Worker,
Xslt };
enum class Mode : uint8_t { Navigate,
SameOrigin,
NoCors,
Cors };
enum class Credentials : uint8_t { Omit,
SameOrigin,
Include };
enum class Cache : uint8_t { Default,
NoStore,
Reload,
NoCache,
ForceCache,
OnlyIfCached };
enum class Redirect : uint8_t { Follow,
Error,
Manual };
};
}
|