michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsSecurityConsoleMessage.h" michael@0: michael@0: NS_IMPL_ISUPPORTS(nsSecurityConsoleMessage, nsISecurityConsoleMessage) michael@0: michael@0: nsSecurityConsoleMessage::nsSecurityConsoleMessage() michael@0: { michael@0: } michael@0: michael@0: nsSecurityConsoleMessage::~nsSecurityConsoleMessage() michael@0: { michael@0: } michael@0: michael@0: NS_IMETHODIMP michael@0: nsSecurityConsoleMessage::GetTag(nsAString& aTag) michael@0: { michael@0: aTag = mTag; michael@0: return NS_OK; michael@0: } michael@0: michael@0: NS_IMETHODIMP michael@0: nsSecurityConsoleMessage::SetTag(const nsAString& aTag) michael@0: { michael@0: mTag = aTag; michael@0: return NS_OK; michael@0: } michael@0: michael@0: NS_IMETHODIMP michael@0: nsSecurityConsoleMessage::GetCategory(nsAString& aCategory) michael@0: { michael@0: aCategory = mCategory; michael@0: return NS_OK; michael@0: } michael@0: michael@0: NS_IMETHODIMP michael@0: nsSecurityConsoleMessage::SetCategory(const nsAString& aCategory) michael@0: { michael@0: mCategory = aCategory; michael@0: return NS_OK; michael@0: }