Bug 1935611 - Fix libyuv/libpng link failed for loongarch64. r=glandium,tnikkel,ng
[gecko.git] / security / manager / ssl / IPCClientCertsParent.h
blob46ce96523baba637b0bb55af0a367e0d22d11fd7
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* vim: set sw=2 ts=8 et tw=80 : */
4 /* This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 #ifndef mozilla_psm_IPCClientCertsParent_h__
9 #define mozilla_psm_IPCClientCertsParent_h__
11 #include "mozilla/psm/PIPCClientCertsParent.h"
13 namespace mozilla {
15 namespace net {
16 class SocketProcessBackgroundParent;
17 } // namespace net
19 namespace psm {
21 class IPCClientCertsParent final : public PIPCClientCertsParent {
22 friend class mozilla::net::SocketProcessBackgroundParent;
24 public:
25 NS_INLINE_DECL_THREADSAFE_REFCOUNTING(IPCClientCertsParent)
27 mozilla::ipc::IPCResult RecvFindObjects(
28 nsTArray<IPCClientCertObject>* aObjects);
29 mozilla::ipc::IPCResult RecvSign(ByteArray aCert, ByteArray aData,
30 ByteArray aParams, ByteArray* aSignature);
32 private:
33 IPCClientCertsParent();
34 ~IPCClientCertsParent() = default;
37 } // namespace psm
38 } // namespace mozilla
40 #endif