Bug 1686838 [wpt PR 27194] - [webcodecs] Deprecate VideoFrame.destroy()., a=testonly
[gecko.git] / xpcom / base / ShutdownPhase.h
blob04b891e13d88e2a4e7b657f02c4cf6b7b2f209ff
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=8 sts=2 et sw=2 tw=80: */
3 /* This Source Code Form is subject to the terms of the Mozilla Public
4 * License, v. 2.0. If a copy of the MPL was not distributed with this
5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 #ifndef ShutdownPhase_h
8 #define ShutdownPhase_h
10 namespace mozilla {
12 // Must be contiguous starting at 0
13 enum class ShutdownPhase {
14 NotInShutdown = 0,
15 WillShutdown,
16 Shutdown,
17 ShutdownThreads,
18 ShutdownLoaders,
19 ShutdownFinal,
20 ShutdownPostLastCycleCollection,
21 ShutdownPhase_Length, // never pass this value
22 First = WillShutdown, // for iteration
23 Last = ShutdownFinal
26 } // namespace mozilla
28 #endif // ShutdownPhase_h