Coverage Report

Created: 2018-09-25 14:53

/src/mozilla-central/xpcom/base/nsSecurityConsoleMessage.cpp
Line
Count
Source (jump to first uncovered line)
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/. */
6
7
#include "nsSecurityConsoleMessage.h"
8
9
NS_IMPL_ISUPPORTS(nsSecurityConsoleMessage, nsISecurityConsoleMessage)
10
11
nsSecurityConsoleMessage::nsSecurityConsoleMessage()
12
0
{
13
0
}
14
15
nsSecurityConsoleMessage::~nsSecurityConsoleMessage()
16
0
{
17
0
}
18
19
NS_IMETHODIMP
20
nsSecurityConsoleMessage::GetTag(nsAString& aTag)
21
0
{
22
0
  aTag = mTag;
23
0
  return NS_OK;
24
0
}
25
26
NS_IMETHODIMP
27
nsSecurityConsoleMessage::SetTag(const nsAString& aTag)
28
0
{
29
0
  mTag = aTag;
30
0
  return NS_OK;
31
0
}
32
33
NS_IMETHODIMP
34
nsSecurityConsoleMessage::GetCategory(nsAString& aCategory)
35
0
{
36
0
  aCategory = mCategory;
37
0
  return NS_OK;
38
0
}
39
40
NS_IMETHODIMP
41
nsSecurityConsoleMessage::SetCategory(const nsAString& aCategory)
42
0
{
43
0
  mCategory = aCategory;
44
0
  return NS_OK;
45
0
}