Bug 1935611 - Fix libyuv/libpng link failed for loongarch64. r=glandium,tnikkel,ng
[gecko.git] / security / manager / ssl / OSReauthenticator.h
blob837dfa91c0fe5d2f9da3df2f493c237477dc4092
1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
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 OSReauthenticator_h
8 #define OSReauthenticator_h
10 #include "nsIOSReauthenticator.h"
12 #define NS_OSREAUTHENTICATOR_CONTRACTID \
13 "@mozilla.org/security/osreauthenticator;1"
14 #define NS_OSREAUTHENTICATOR_CID \
15 { \
16 0x4fe082ae, 0x6ff0, 0x4b41, { \
17 0xb2, 0x4f, 0xea, 0xa6, 0x64, 0xf6, 0xe4, 0x6a \
18 } \
21 class OSReauthenticator : public nsIOSReauthenticator {
22 public:
23 NS_DECL_THREADSAFE_ISUPPORTS
24 NS_DECL_NSIOSREAUTHENTICATOR
26 private:
27 virtual ~OSReauthenticator() = default;
30 #ifdef XP_MACOSX
31 nsresult ReauthenticateUserMacOS(const nsAString& aPrompt,
32 /* out */ bool& aReauthenticated,
33 /* out */ bool& aIsBlankPassword);
34 #endif // XP_MACOSX
36 #endif // OSReauthenticator_h