Bug 1824753 [wpt PR 39216] - [FLEDGE] Add WPT test that FLEDGE is not allowed in...
[gecko.git] / dom / ipc / RemoteType.h
blob43183c7deeee1eef8d8a4529667f1c0ed1eea51a
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 mozilla_dom_RemoteType_h
8 #define mozilla_dom_RemoteType_h
10 #include "nsString.h"
11 #include "nsReadableUtils.h"
13 // These must match the similar ones in E10SUtils.sys.mjs and ProcInfo.h and
14 // ChromeUtils.webidl Process names as reported by about:memory are defined in
15 // ContentChild:RecvRemoteType. Add your value there too or it will be called
16 // "Web Content".
17 #define PREALLOC_REMOTE_TYPE "prealloc"_ns
18 #define WEB_REMOTE_TYPE "web"_ns
19 #define FILE_REMOTE_TYPE "file"_ns
20 #define EXTENSION_REMOTE_TYPE "extension"_ns
21 #define PRIVILEGEDABOUT_REMOTE_TYPE "privilegedabout"_ns
22 #define PRIVILEGEDMOZILLA_REMOTE_TYPE "privilegedmozilla"_ns
24 #define DEFAULT_REMOTE_TYPE WEB_REMOTE_TYPE
26 // These must start with the WEB_REMOTE_TYPE above.
27 #define FISSION_WEB_REMOTE_TYPE "webIsolated"_ns
28 #define WITH_COOP_COEP_REMOTE_TYPE "webCOOP+COEP"_ns
29 #define WITH_COOP_COEP_REMOTE_TYPE_PREFIX "webCOOP+COEP="_ns
30 #define SERVICEWORKER_REMOTE_TYPE "webServiceWorker"_ns
32 // Remote type value used to represent being non-remote.
33 #define NOT_REMOTE_TYPE VoidCString()
35 #endif // mozilla_dom_RemoteType_h