LCOV - code coverage report
Current view: top level - obj-x86_64-pc-linux-gnu/ipc/ipdl - PContentPermission.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 43 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 12 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/PContentPermission.h"
       8             : 
       9             : 
      10             : //-----------------------------------------------------------------------------
      11             : // Method definitions for the IPDL type |struct PermissionRequest|
      12             : //
      13             : namespace mozilla {
      14             : namespace dom {
      15           0 : MOZ_IMPLICIT PermissionRequest::PermissionRequest() :
      16             :     type_(),
      17           0 :     access_()
      18             : {
      19           0 :     Init();
      20           0 : }
      21             : 
      22           0 : PermissionRequest::~PermissionRequest()
      23             : {
      24           0 : }
      25             : 
      26           0 : auto PermissionRequest::operator==(const PermissionRequest& _o) const -> bool
      27             : {
      28           0 :     if ((!((type()) == ((_o).type())))) {
      29           0 :         return false;
      30             :     }
      31           0 :     if ((!((access()) == ((_o).access())))) {
      32           0 :         return false;
      33             :     }
      34           0 :     if ((!((options()) == ((_o).options())))) {
      35           0 :         return false;
      36             :     }
      37           0 :     return true;
      38             : }
      39             : 
      40           0 : auto PermissionRequest::operator!=(const PermissionRequest& _o) const -> bool
      41             : {
      42           0 :     return (!(operator==(_o)));
      43             : }
      44             : 
      45           0 : auto PermissionRequest::Init() -> void
      46             : {
      47           0 : }
      48             : 
      49           0 : auto PermissionRequest::Assign(
      50             :         const nsCString& _type,
      51             :         const nsCString& _access,
      52             :         const nsTArray<nsString>& _options) -> void
      53             : {
      54           0 :     type_ = _type;
      55           0 :     access_ = _access;
      56           0 :     options_ = _options;
      57           0 : }
      58             : 
      59             : } // namespace dom
      60             : } // namespace mozilla
      61             : 
      62             : //-----------------------------------------------------------------------------
      63             : // Method definitions for the IPDL type |struct PermissionChoice|
      64             : //
      65             : namespace mozilla {
      66             : namespace dom {
      67           0 : MOZ_IMPLICIT PermissionChoice::PermissionChoice() :
      68             :     type_(),
      69           0 :     choice_()
      70             : {
      71           0 :     Init();
      72           0 : }
      73             : 
      74           0 : PermissionChoice::~PermissionChoice()
      75             : {
      76           0 : }
      77             : 
      78           0 : auto PermissionChoice::operator==(const PermissionChoice& _o) const -> bool
      79             : {
      80           0 :     if ((!((type()) == ((_o).type())))) {
      81           0 :         return false;
      82             :     }
      83           0 :     if ((!((choice()) == ((_o).choice())))) {
      84           0 :         return false;
      85             :     }
      86           0 :     return true;
      87             : }
      88             : 
      89           0 : auto PermissionChoice::operator!=(const PermissionChoice& _o) const -> bool
      90             : {
      91           0 :     return (!(operator==(_o)));
      92             : }
      93             : 
      94           0 : auto PermissionChoice::Init() -> void
      95             : {
      96           0 : }
      97             : 
      98           0 : auto PermissionChoice::Assign(
      99             :         const nsCString& _type,
     100             :         const nsString& _choice) -> void
     101             : {
     102           0 :     type_ = _type;
     103           0 :     choice_ = _choice;
     104           0 : }
     105             : 
     106             : } // namespace dom
     107             : } // namespace mozilla

Generated by: LCOV version 1.13