Coverage Report

Created: 2018-09-25 14:53

/src/mozilla-central/dom/clients/manager/ClientManagerActors.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 "ClientManagerChild.h"
8
#include "ClientManagerParent.h"
9
10
namespace mozilla {
11
namespace dom {
12
13
PClientManagerChild*
14
AllocClientManagerChild()
15
0
{
16
0
  MOZ_ASSERT_UNREACHABLE("Default ClientManagerChild allocator should not be invoked");
17
0
  return nullptr;
18
0
}
19
20
bool
21
DeallocClientManagerChild(PClientManagerChild* aActor)
22
0
{
23
0
  delete aActor;
24
0
  return true;
25
0
}
26
27
PClientManagerParent*
28
AllocClientManagerParent()
29
0
{
30
0
  return new ClientManagerParent();
31
0
}
32
33
bool
34
DeallocClientManagerParent(PClientManagerParent* aActor)
35
0
{
36
0
  delete aActor;
37
0
  return true;
38
0
}
39
40
void
41
InitClientManagerParent(PClientManagerParent* aActor)
42
0
{
43
0
  auto actor = static_cast<ClientManagerParent*>(aActor);
44
0
  actor->Init();
45
0
}
46
47
} // namespace dom
48
} // namespace mozilla