Coverage Report

Created: 2018-09-25 14:53

/work/obj-fuzz/ipc/ipdl/ServiceWorkerConfiguration.cpp
Line
Count
Source (jump to first uncovered line)
1
//
2
// Automatically generated by ipdlc.
3
// Edit at your own risk
4
//
5
6
7
#include "mozilla/dom/ServiceWorkerConfiguration.h"
8
9
10
//-----------------------------------------------------------------------------
11
// Method definitions for the IPDL type |struct ServiceWorkerConfiguration|
12
//
13
namespace mozilla {
14
namespace dom {
15
auto ServiceWorkerConfiguration::operator==(const ServiceWorkerConfiguration& _o) const -> bool
16
0
{
17
0
    if ((!((serviceWorkerRegistrations()) == ((_o).serviceWorkerRegistrations())))) {
18
0
        return false;
19
0
    }
20
0
    return true;
21
0
}
22
23
auto ServiceWorkerConfiguration::operator!=(const ServiceWorkerConfiguration& _o) const -> bool
24
0
{
25
0
    return (!(operator==(_o)));
26
0
}
27
28
} // namespace dom
29
} // namespace mozilla
30
31
namespace mozilla {
32
namespace ipc {
33
auto IPDLParamTraits<mozilla::dom::ServiceWorkerConfiguration>::Write(
34
        IPC::Message* aMsg,
35
        mozilla::ipc::IProtocol* aActor,
36
        const paramType& aVar) -> void
37
0
{
38
0
    WriteIPDLParam(aMsg, aActor, (aVar).serviceWorkerRegistrations());
39
0
    // Sentinel = 'serviceWorkerRegistrations'
40
0
    (aMsg)->WriteSentinel(1037133701);
41
0
}
42
43
auto IPDLParamTraits<mozilla::dom::ServiceWorkerConfiguration>::Read(
44
        const IPC::Message* aMsg,
45
        PickleIterator* aIter,
46
        mozilla::ipc::IProtocol* aActor,
47
        paramType* aVar) -> bool
48
0
{
49
0
    if ((!(ReadIPDLParam(aMsg, aIter, aActor, (&((aVar)->serviceWorkerRegistrations())))))) {
50
0
        (aActor)->FatalError("Error deserializing 'serviceWorkerRegistrations' (ServiceWorkerRegistrationData[]) member of 'ServiceWorkerConfiguration'");
51
0
        return false;
52
0
    }
53
0
    // Sentinel = 'serviceWorkerRegistrations'
54
0
    if ((!((aMsg)->ReadSentinel(aIter, 1037133701)))) {
55
0
        mozilla::ipc::SentinelReadError("Error deserializing 'serviceWorkerRegistrations' (ServiceWorkerRegistrationData[]) member of 'ServiceWorkerConfiguration'");
56
0
        return false;
57
0
    }
58
0
    return true;
59
0
}
60
61
} // namespace ipc
62
} // namespace mozilla