LCOV - code coverage report
Current view: top level - dom/credentialmanagement - Credential.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 3 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 8 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             : #ifndef mozilla_dom_Credential_h
       8             : #define mozilla_dom_Credential_h
       9             : 
      10             : #include "mozilla/dom/CredentialManagementBinding.h"
      11             : #include "nsCycleCollectionParticipant.h"
      12             : #include "nsPIDOMWindow.h"
      13             : #include "nsWrapperCache.h"
      14             : 
      15             : namespace mozilla {
      16             : namespace dom {
      17             : 
      18             : class Credential : public nsISupports
      19             :                  , public nsWrapperCache
      20             : {
      21             : public:
      22             :   NS_DECL_CYCLE_COLLECTING_ISUPPORTS
      23           0 :   NS_DECL_CYCLE_COLLECTION_SCRIPT_HOLDER_CLASS(Credential)
      24             : 
      25             : public:
      26             :   explicit Credential(nsPIDOMWindowInner* aParent);
      27             : 
      28             : protected:
      29             :   virtual ~Credential();
      30             : 
      31             : public:
      32             :   nsISupports*
      33           0 :   GetParentObject() const
      34             :   {
      35           0 :     return mParent;
      36             :   }
      37             : 
      38             :   JSObject*
      39             :   WrapObject(JSContext* aCx, JS::Handle<JSObject*> aGivenProto) override;
      40             : 
      41             :   void
      42             :   GetId(nsAString& aId) const;
      43             : 
      44             :   void
      45             :   GetType(nsAString& aType) const;
      46             : 
      47             : private:
      48             :   nsCOMPtr<nsPIDOMWindowInner> mParent;
      49             :   nsAutoString mId;
      50             :   nsAutoString mType;
      51             : };
      52             : 
      53             : } // namespace dom
      54             : } // namespace mozilla
      55             : 
      56             : #endif // mozilla_dom_Credential_h

Generated by: LCOV version 1.13