Bug 1867190 - Add prefs for PHC probablities r=glandium
[gecko.git] / xpcom / base / nsSecurityConsoleMessage.cpp
blob84074b57bc43677378b879af1fbfd96f689ef3d4
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 #include "nsSecurityConsoleMessage.h"
9 NS_IMPL_ISUPPORTS(nsSecurityConsoleMessage, nsISecurityConsoleMessage)
11 nsSecurityConsoleMessage::nsSecurityConsoleMessage() = default;
13 nsSecurityConsoleMessage::~nsSecurityConsoleMessage() = default;
15 NS_IMETHODIMP
16 nsSecurityConsoleMessage::GetTag(nsAString& aTag) {
17 aTag = mTag;
18 return NS_OK;
21 NS_IMETHODIMP
22 nsSecurityConsoleMessage::SetTag(const nsAString& aTag) {
23 mTag = aTag;
24 return NS_OK;
27 NS_IMETHODIMP
28 nsSecurityConsoleMessage::GetCategory(nsAString& aCategory) {
29 aCategory = mCategory;
30 return NS_OK;
33 NS_IMETHODIMP
34 nsSecurityConsoleMessage::SetCategory(const nsAString& aCategory) {
35 mCategory = aCategory;
36 return NS_OK;