LCOV - code coverage report
Current view: top level - xpcom/base - nsCycleCollectionNoteRootCallback.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 2 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
       2             : /* vim: set ts=8 sts=2 et sw=2 tw=80: */
       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 nsCycleCollectionNoteRootCallback_h__
       8             : #define nsCycleCollectionNoteRootCallback_h__
       9             : 
      10             : class nsCycleCollectionParticipant;
      11             : class nsISupports;
      12             : 
      13             : class nsCycleCollectionNoteRootCallback
      14             : {
      15             : public:
      16             :   NS_IMETHOD_(void) NoteXPCOMRoot(nsISupports* aRoot) = 0;
      17             :   NS_IMETHOD_(void) NoteJSRoot(JSObject* aRoot) = 0;
      18             :   NS_IMETHOD_(void) NoteNativeRoot(void* aRoot,
      19             :                                    nsCycleCollectionParticipant* aParticipant) = 0;
      20             : 
      21             :   NS_IMETHOD_(void) NoteWeakMapping(JSObject* aMap, JS::GCCellPtr aKey,
      22             :                                     JSObject* aKeyDelegate, JS::GCCellPtr aVal) = 0;
      23             : 
      24           0 :   bool WantAllTraces() const { return mWantAllTraces; }
      25             : protected:
      26           0 :   nsCycleCollectionNoteRootCallback() : mWantAllTraces(false) {}
      27             : 
      28             :   bool mWantAllTraces;
      29             : };
      30             : 
      31             : #endif // nsCycleCollectionNoteRootCallback_h__

Generated by: LCOV version 1.13