况洋洋
2025-07-04 0d247bd2a17e0f99f3609774a1ce54ae00857997
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
namespace CefSharp.Enums
{
    /// <summary>
    /// CEF Exit Codes
    /// </summary>
    public enum ResultCode
    {
        // The following values should be kept in sync with Chromium's
        // content::ResultCode type.
 
        NormalExit,
 
        /// <summary>
        /// Process was killed by user or system.
        /// </summary>
        Killed,
 
        /// <summary>
        /// Process hung.
        /// </summary>
        Hung,
 
        /// <summary>
        /// A bad message caused the process termination.
        /// </summary>
        KilledBadMessage,
 
        /// <summary>
        /// The GPU process exited because initialization failed.
        /// </summary>
        GpuDeadOnArrival,
 
        // The following values should be kept in sync with Chromium's
        // chrome::ResultCode type. Unused chrome values are excluded.
 
        ChromeFirst,
 
        /// <summary>
        /// A critical chrome file is missing.
        /// </summary>
        MissingData = 7,
 
        /// <summary>
        /// Command line parameter is not supported.
        /// </summary>
        UnsupportedParam = 13,
 
        /// <summary>
        /// The profile was in use on another host.
        /// </summary>
        ProfileInUse = 21,
 
        /// <summary>
        /// Failed to pack an extension via the command line.
        /// </summary>
        PackExtensionError = 22,
 
        /// <summary>
        /// The browser process exited early by passing the command line to another
        /// running browser.
        /// </summary>
        NormalExitProcessNotified = 24,
 
        /// <summary>
        /// A browser process was sandboxed. This should never happen.
        /// </summary>
        InvalidSandboxState = 31,
 
        /// <summary>
        /// Cloud policy enrollment failed or was given up by user.
        /// </summary>
        CloudPolicyEnrollmentFailed = 32,
 
        /// <summary>
        /// The GPU process was terminated due to context lost.
        /// </summary>
        GpuExitOnContextLost = 34,
 
        /// <summary>
        /// An early startup command was executed and the browser must exit.
        /// </summary>
        NormalExitPackExtensionSuccess = 36,
 
        /// <summary>
        /// The browser process exited because system resources are exhausted. The
        /// system state can't be recovered and will be unstable.
        /// </summary>
        SystemResourceExhausted = 37,
 
        ChromeLast = 39,
 
        // The following values should be kept in sync with Chromium's
        // sandbox::TerminationCodes type.
 
        SandboxFatalFirst = 7006,
 
        /// <summary>
        /// Windows sandbox could not set the integrity level.
        /// </summary>
        SandboxFatalIntegrity = SandboxFatalFirst,
 
        /// <summary>
        /// Windows sandbox could not lower the token.
        /// </summary>
        SandboxFatalDroptoken,
 
        /// <summary>
        /// Windows sandbox failed to flush registry handles.
        /// </summary>
        SandboxFatalFlushandles,
 
        /// <summary>
        /// Windows sandbox failed to forbid HCKU caching.
        /// </summary>
        SandboxFatalCachedisable,
 
        /// <summary>
        /// Windows sandbox failed to close pending handles.
        /// </summary>
        SandboxFatalClosehandles,
 
        /// <summary>
        /// Windows sandbox could not set the mitigation policy.
        /// </summary>
        SandboxFatalMitigation,
 
        /// <summary>
        /// Windows sandbox exceeded the job memory limit.
        /// </summary>
        SandboxFatalMemoryExceeded,
 
        /// <summary>
        /// Windows sandbox failed to warmup.
        /// </summary>
        SandboxFatalWarmup,
 
        SandboxFatalLast,
    }
}