xpcom/base/nsSecurityConsoleMessage.cpp

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xpcom/base/nsSecurityConsoleMessage.cpp	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,43 @@
     1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public
     1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this
     1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
     1.7 +
     1.8 +#include "nsSecurityConsoleMessage.h"
     1.9 +
    1.10 +NS_IMPL_ISUPPORTS(nsSecurityConsoleMessage, nsISecurityConsoleMessage)
    1.11 +
    1.12 +nsSecurityConsoleMessage::nsSecurityConsoleMessage()
    1.13 +{
    1.14 +}
    1.15 +
    1.16 +nsSecurityConsoleMessage::~nsSecurityConsoleMessage()
    1.17 +{
    1.18 +}
    1.19 +
    1.20 +NS_IMETHODIMP
    1.21 +nsSecurityConsoleMessage::GetTag(nsAString& aTag)
    1.22 +{
    1.23 +  aTag = mTag;
    1.24 +  return NS_OK;
    1.25 +}
    1.26 +
    1.27 +NS_IMETHODIMP
    1.28 +nsSecurityConsoleMessage::SetTag(const nsAString& aTag)
    1.29 +{
    1.30 +  mTag = aTag;
    1.31 +  return NS_OK;
    1.32 +}
    1.33 +
    1.34 +NS_IMETHODIMP
    1.35 +nsSecurityConsoleMessage::GetCategory(nsAString& aCategory)
    1.36 +{
    1.37 +  aCategory = mCategory;
    1.38 +  return NS_OK;
    1.39 +}
    1.40 +
    1.41 +NS_IMETHODIMP
    1.42 +nsSecurityConsoleMessage::SetCategory(const nsAString& aCategory)
    1.43 +{
    1.44 +  mCategory = aCategory;
    1.45 +  return NS_OK;
    1.46 +}

mercurial