LCOV - code coverage report
Current view: top level - dom/credentialmanagement - Credential.cpp (source / functions) Hit Total Coverage
Test: output.info Lines: 0 20 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 13 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
       2             : /* vim:set ts=2 sw=2 sts=2 et cindent: */
       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 "mozilla/dom/Credential.h"
       8             : #include "mozilla/dom/CredentialManagementBinding.h"
       9             : #include "nsCycleCollectionParticipant.h"
      10             : 
      11             : namespace mozilla {
      12             : namespace dom {
      13             : 
      14           0 : NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE(Credential, mParent)
      15             : 
      16           0 : NS_IMPL_CYCLE_COLLECTING_ADDREF(Credential)
      17           0 : NS_IMPL_CYCLE_COLLECTING_RELEASE(Credential)
      18             : 
      19           0 : NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(Credential)
      20           0 :   NS_WRAPPERCACHE_INTERFACE_MAP_ENTRY
      21           0 :   NS_INTERFACE_MAP_ENTRY(nsISupports)
      22           0 : NS_INTERFACE_MAP_END
      23             : 
      24           0 : Credential::Credential(nsPIDOMWindowInner* aParent)
      25           0 :   : mParent(aParent)
      26           0 : {}
      27             : 
      28           0 : Credential::~Credential()
      29           0 : {}
      30             : 
      31             : JSObject*
      32           0 : Credential::WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto)
      33             : {
      34           0 :   return CredentialBinding::Wrap(aCx, this, aGivenProto);
      35             : }
      36             : 
      37             : void
      38           0 : Credential::GetId(nsAString& aId) const
      39             : {
      40           0 :   aId.Assign(mId);
      41           0 : }
      42             : 
      43             : void
      44           0 : Credential::GetType(nsAString& aType) const
      45             : {
      46           0 :   aType.Assign(mType);
      47           0 : }
      48             : 
      49             : } // namespace dom
      50             : } // namespace mozilla

Generated by: LCOV version 1.13