Bug 1928997: Update tabs icon in Unified Search popup r=desktop-theme-reviewers,daleh...
[gecko.git] / security / manager / ssl / CredentialManagerSecret.h
blob7f94493edcb17e5ae7c439501532483476f19d3a
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 CredentialManagerSecret_h
8 #define CredentialManagerSecret_h
10 #include "OSKeyStore.h"
11 #include "nsString.h"
13 class CredentialManagerSecret final : public AbstractOSKeyStore {
14 public:
15 CredentialManagerSecret();
17 virtual nsresult RetrieveSecret(const nsACString& label,
18 /* out */ nsACString& secret) override;
19 virtual nsresult StoreSecret(const nsACString& secret,
20 const nsACString& label) override;
21 virtual nsresult DeleteSecret(const nsACString& label) override;
23 virtual ~CredentialManagerSecret();
26 #endif // CredentialManagerSecret_h