no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / netwerk / ipc / PSocketProcessBackground.ipdl
blob95d01a9abba7af311ac09a093eb2960e79bc1be1
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set ts=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 file,
5  * You can obtain one at http://mozilla.org/MPL/2.0/. */
7 include protocol PVerifySSLServerCert;
8 include protocol PSelectTLSClientAuthCert;
9 include protocol PIPCClientCerts;
10 include protocol PWebSocketConnection;
12 include PSMIPCTypes;
14 using mozilla::OriginAttributes from "mozilla/ipc/BackgroundUtils.h";
16 namespace mozilla {
17 namespace net {
19 /**
20   * PSocketProcessBackground is the top level IPC protocol between
21   * a background task queue in the socket process and the parent process.
22   * We use this to create several IPC protocols between the socket process
23   * and the parent process.
24   */
25 sync protocol PSocketProcessBackground
27 parent:
28   async InitVerifySSLServerCert(
29     Endpoint<PVerifySSLServerCertParent> aEndpoint,
30     ByteArray[] aPeerCertChain,
31     nsCString aHostName,
32     int32_t aPort,
33     OriginAttributes aOriginAttributes,
34     ByteArray? aStapledOCSPResponse,
35     ByteArray? aSctsFromTLSExtension,
36     DelegatedCredentialInfoArg? aDcInfo,
37     uint32_t aProviderFlags,
38     uint32_t aCertVerifierFlags);
40   async InitSelectTLSClientAuthCert(
41     Endpoint<PSelectTLSClientAuthCertParent> aEndpoint,
42     nsCString aHostName,
43     OriginAttributes aOriginAttributes,
44     int32_t aPort,
45     uint32_t aProviderFlags,
46     uint32_t aProviderTlsFlags,
47     ByteArray aServerCertBytes,
48     ByteArray[] aCANames,
49     uint64_t aBrowserId);
51   async InitIPCClientCerts(Endpoint<PIPCClientCertsParent> aEndpoint);
53   async InitWebSocketConnection(Endpoint<PWebSocketConnectionParent> aEndpoint,
54                                 uint32_t aListenerId);
57 } // namespace net
58 } // namespace mozilla