LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/ipc/ipdl - ServiceWorkerRegistrarTypes.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 41 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 6 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //
       2             : // Automatically generated by ipdlc.
       3             : // Edit at your own risk
       4             : //
       5             : 
       6             : 
       7             : #include "mozilla/dom/ServiceWorkerRegistrarTypes.h"
       8             : 
       9             : 
      10             : //-----------------------------------------------------------------------------
      11             : // Method definitions for the IPDL type |struct ServiceWorkerRegistrationData|
      12             : //
      13             : namespace mozilla {
      14             : namespace dom {
      15           0 : MOZ_IMPLICIT ServiceWorkerRegistrationData::ServiceWorkerRegistrationData() :
      16             :     scope_(),
      17             :     currentWorkerURL_(),
      18             :     currentWorkerHandlesFetch_(),
      19             :     cacheName_(),
      20             :     loadFlags_(),
      21             :     currentWorkerInstalledTime_(),
      22             :     currentWorkerActivatedTime_(),
      23           0 :     lastUpdateTime_()
      24             : {
      25           0 :     Init();
      26           0 : }
      27             : 
      28           0 : ServiceWorkerRegistrationData::~ServiceWorkerRegistrationData()
      29             : {
      30           0 : }
      31             : 
      32           0 : auto ServiceWorkerRegistrationData::operator==(const ServiceWorkerRegistrationData& _o) const -> bool
      33             : {
      34           0 :     if ((!((scope()) == ((_o).scope())))) {
      35           0 :         return false;
      36             :     }
      37           0 :     if ((!((currentWorkerURL()) == ((_o).currentWorkerURL())))) {
      38           0 :         return false;
      39             :     }
      40           0 :     if ((!((currentWorkerHandlesFetch()) == ((_o).currentWorkerHandlesFetch())))) {
      41           0 :         return false;
      42             :     }
      43           0 :     if ((!((cacheName()) == ((_o).cacheName())))) {
      44           0 :         return false;
      45             :     }
      46           0 :     if ((!((principal()) == ((_o).principal())))) {
      47           0 :         return false;
      48             :     }
      49           0 :     if ((!((loadFlags()) == ((_o).loadFlags())))) {
      50           0 :         return false;
      51             :     }
      52           0 :     if ((!((currentWorkerInstalledTime()) == ((_o).currentWorkerInstalledTime())))) {
      53           0 :         return false;
      54             :     }
      55           0 :     if ((!((currentWorkerActivatedTime()) == ((_o).currentWorkerActivatedTime())))) {
      56           0 :         return false;
      57             :     }
      58           0 :     if ((!((lastUpdateTime()) == ((_o).lastUpdateTime())))) {
      59           0 :         return false;
      60             :     }
      61           0 :     return true;
      62             : }
      63             : 
      64           0 : auto ServiceWorkerRegistrationData::operator!=(const ServiceWorkerRegistrationData& _o) const -> bool
      65             : {
      66           0 :     return (!(operator==(_o)));
      67             : }
      68             : 
      69           0 : auto ServiceWorkerRegistrationData::Init() -> void
      70             : {
      71           0 : }
      72             : 
      73           0 : auto ServiceWorkerRegistrationData::Assign(
      74             :         const nsCString& _scope,
      75             :         const nsCString& _currentWorkerURL,
      76             :         const bool& _currentWorkerHandlesFetch,
      77             :         const nsString& _cacheName,
      78             :         const PrincipalInfo& _principal,
      79             :         const uint32_t& _loadFlags,
      80             :         const int64_t& _currentWorkerInstalledTime,
      81             :         const int64_t& _currentWorkerActivatedTime,
      82             :         const int64_t& _lastUpdateTime) -> void
      83             : {
      84           0 :     scope_ = _scope;
      85           0 :     currentWorkerURL_ = _currentWorkerURL;
      86           0 :     currentWorkerHandlesFetch_ = _currentWorkerHandlesFetch;
      87           0 :     cacheName_ = _cacheName;
      88           0 :     principal_ = _principal;
      89           0 :     loadFlags_ = _loadFlags;
      90           0 :     currentWorkerInstalledTime_ = _currentWorkerInstalledTime;
      91           0 :     currentWorkerActivatedTime_ = _currentWorkerActivatedTime;
      92           0 :     lastUpdateTime_ = _lastUpdateTime;
      93           0 : }
      94             : 
      95             : } // namespace dom
      96             : } // namespace mozilla

Generated by: LCOV version 1.13